-> 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...

-
MY WINTER VACATION!! From poush 15 our winter vacation begins. On 19th poush our schools has ...
-
-> CLS INPUT "Enter any number"; N F = 1 FOR I = 1 TO N F = F*I NEXT I PRINT "Factorial="; F END
-
-> CLS INPUT "Enter the length"; L INPUT "Enter the breadth"; B INPUT "Enter the height"; H A = 2*H*(L+B)...
No comments:
Post a Comment