CLS
INPUT "Enter any number'; N
P = 1
WHILE N<> 0
R = N MOD 10
P = P*R
N = N\10
WEND
PRINT "Product of digits="; P
END
Subscribe to:
Post Comments (Atom)
Digital Footprint
Computer technology is a technology that instead of building a physical machine for each application builds a logical or virtual machine. ...

-
Drama is a composition in verse or porse intended to portray life or character or to tell a story. It usually involves conflicts and emotion...
-
CLS FOR I = 1 TO 5 FOR J = 1 TO I PRINT I; NEXT J PRINT NEXT I END
-
CLS FOR I = 1 To 5 FOR J = 1 To I PRINT J ; NEXT J PRINT NEXT I END
No comments:
Post a Comment