"we should not just read books, we should learn to climb inside them and live there"
Total Pageviews
Friday, October 18, 2019
18.
QBASIC to check Factorial
CLS
INPUT "Enter any number"; N
F = 1
FOR I = 1 TO N
F = F*I
NEXT I
PRINT "Factorial="; F
END
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment