It's not whether you get knocked down, it's whether you get up."

Wednesday, 2 October 2019

Wap to display factorial

CLS
REM' A PROGRAM TO FIND THE FACTORIAL OF A NUMBER
INPUT "ENTER A NUMBER:", N
F = 1
FOR I = 1 TO N
    F = F * I
NEXT I
PRINT "THE FACTORIAL IS", F
END
Posted by Sahiljayswal2076.blogspot.com at 23:22
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest

No comments:

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)

About Me

Sahiljayswal2076.blogspot.com
View my complete profile

Blog Archive

  • ►  2020 (4)
    • ►  September (1)
    • ►  August (2)
    • ►  January (1)
  • ▼  2019 (29)
    • ▼  October (18)
      • WAP TO DISPLAY 1,12,123,1234,12345
      • WAP TO DISPLAY 1,11,111,1111,11111
      • WAP TO DISPLAY 1,22,333,4444,55555
      • WAP TO DISPLAY 5,10,15,20.......1OTHTERM
      • WAP TO DISPLAY 1,4,9,16..........10th term
      • wap to display 1,1,2,3,5,8.........10th term
      • Wap to display multiplication table
      • Wap to display factorial
      • Wap to display factor
      • Wap to display prime or composite
      • Wap to display armstrong or not
      • Wap to display plaindrome or not
      • Wap to display reserve digits
      • Wap to display product of digits
      • Wap to display sum of digits
      • Wap to display greatest among three number
      • Wap to display odd or even
      • Wap to display positive,negative or zero
    • ►  September (9)
    • ►  June (1)
    • ►  May (1)
Travel theme. Powered by Blogger.