Skip to main content
Search
Search This Blog
DAYDREAMING IS SURPRISINGLY GOOD FOR YOUR BRAIN
Share
Get link
Facebook
X
Pinterest
Email
Other Apps
November 02, 2019
QBASIC PROGRAM TO FIND FACTORIAL USING FUNCTION.
DECLARE FUNCTION FACT(N0
CLS
INPUT"ENTER ANY NUMBER";N
PRINT"FACT=";FACT(N)
END
FUNCTION FACT(N)
F=1
FOR I= 1 TO N
F=F*I
NEXT I
PRINT"FACTORIAL=";F
END SUB
Comments
Popular Posts
March 09, 2020
My journey with JM
May 12, 2019
DRAMA
Comments
Post a Comment