Life is an adventure, it’s not a package tour
Tuesday, October 29, 2019
QBasic Programming
To display factorial of any number
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