Wednesday, October 2, 2019

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

Digital Footprint

Computer technology is a technology that instead of building a physical machine for each application builds a logical or virtual machine. ...