Friday, October 4, 2019

Qbasic program to display the factorial of digits.


Write a program to display the factorial of digits.
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

E-Commerce

E-Commerce (Electronic Commerce) E-Commerce or Electronic Commerce means buying and selling of goods, products, or services over the interne...