QBasic Programming

WAP to generate the following series 2,3,5,8,13…………10th term

DECLARE SUB SERIES ()
CLS
CALL SERIES
END

SUB SERIES
A = 2
B = 3
FOR I = 1 TO 10
PRINT A;
C = A + B
A = B
B = C
NEXT I

END SUB

WAP to generate the following series 2,4,6,8………….12th term (Prev Lesson)
(Next Lesson) WAP to generate the following series 11,3,14,17,31………….18th term
Back to QBasic Programming
Notice: compact(): Undefined variable: limits in /home/bhimgautam34/public_html/wp-includes/class-wp-comment-query.php on line 853

Notice: compact(): Undefined variable: groupby in /home/bhimgautam34/public_html/wp-includes/class-wp-comment-query.php on line 853

No Comments

Post a Reply

Course Curriculum

error: Content is protected !!