4. WRITE AN ALGORITHM TO INPUT 100 NUMBERS AND DISPLAY THE SUM OF
FACTORS OF EACH NUMBER.
START
STEP 1 : DECLARE I ,J, C , NUM AS AN INTEGER
STEP 2: I=1 , NUM=0
STEP 3: INPUT "ENTER THE NUMBER", NUM
STEP 4: J=1 , C=0
STEP 5: IF NUM%J=0 THEN C=C+J
STEP 6: INCREMENT THE VALUE OF J BY 1
STEP 7 : IF J<=NUM THEN GOTO STEP 5
STEP 8 : PRINT "SUM OF FACTORS", C
STEP 9: INCREMENT THE VALUE OF I BY 1
STEP 10: IF I<=100 THEN GOTO STEP 3
END
Thank u sir
ReplyDeleteIt is very helpful for me
Thank u sir!! It was really very helpful for me ☺️☺️☺️!!
ReplyDeleteBARNAK GHOSH of class 8c!!
ReplyDeleteThank you so much..... Sir....
ReplyDeleteAdrika Karmakar class 8b., ☺☺
Sir pls give us some programs of class 10
ReplyDelete