Monday, October 14, 2019

To display factorial

                                            WAP to display 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

              5  days and 4 night Educational Tour We travel not to escape life but for life not to escape us . O ur school organized educ...