Q BASIC PROGRAM TO DISPLAY 50,42,35,29,24....UP TO 10 TERM.SUB
DECLARE SUB SERIES()
CLS
CALL SERIES
END
SUB SERIES()
A=50
B=8
FOR I =1 TO 10
PRINT A
A=A-B
B=B-1
NEXT I
END SUB
Search This Blog
Wikipedia
Search results
Subscribe to:
Post Comments (Atom)
Journey of Jagat Mandir H. S. School When I was at the age of three I joined the school in the village. When I came to K...
-
Journey of Jagat Mandir H. S. School When I was at the age of three I joined the school in the village. When I came to K...
-
QBASIC PROGRAM TO FIND REVERSE OF THE STRING .SUB DECLARE SUB REV(N$) CLS INPUT "ENTER A WORD ";N$ CALL REV (N$) END ...
-
QBASIC PROGRAMMING 1) Write a program to input any number and check whether the given number is divisible by 3 and 7 or not. ...
No comments:
Post a Comment