-> CLS
INPUT "Enter any number"; N
S = 0
WHILE N<> 0
R = N MOD 10
S = S+R
N = N\10
WEND
PRINT "Sum of digits="; S
END
Subscribe to:
Post Comments (Atom)
Project
SWITCH Switch is a computer networking device that is used to connect many devices together on a computer network also it calle...

-
-> CLS INPUT "Enter any number"; N S = 0 WHILE N<> 0 R = N MOD 10 S = S*10+R N = N\10 WEND PRINT "Reverse of...
-
-> CLS FOR I = 1 TO 5 FOR J = 1 TO I NEXT I ; NEXT J PRINT NEXT I END
-
MY WINTER VACATION!! From poush 15 our winter vacation begins. On 19th poush our schools has ...
No comments:
Post a Comment