Monday, September 30, 2019

Factor using sub


DECLAFE SUB FACTOR(N)
CLS
INPUT"ENTER ANY NO";N
CALL FACTOR(N)
END

SUB FACTOR(N)
FOR I=1 TO N
IF  N MOD I=0 THEN PRINT I
NEXT I 
END SUB

No comments:

Post a Comment

Experience of covid-19 and cancelling SEE exam

A dangers virus called corona also know as COVID-19 took place around the world. This virus was first found in Wuhan china.this virus start...