SEE COMPUTER SCIENCE
Complete Notes • MCQs • Online Quiz • PYTHON • QBASIC • SEE 2083
Wednesday, October 16, 2019
99. Qbasic program to display 315, 270, 215, 150 ........ upto 10th term.
99. Write a program to display 315, 270, 215, 150 ........ upto 10th term.
DECLARE SUB SERIES ( )
CLS
CALL SERIES
END
SUB SERIES
a = 315
b = 45
FOR i = 1 TO 10
PRINT a
a = a - b
b = b + 10
NEXT i
END SUB
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment