QBasic Programming

WAP to display numbers 1,3,5……..30

DECLARE SUB SERIES ()
CLS
CALL SERIES
END

SUB SERIES
FOR I = 1 TO 30 STEP 2
PRINT I,
NEXT I
END SUB
247. WAP to display numbers 70,61,52…..7
DECLARE SUB SERIES ()
CLS
CALL SERIES
END

SUB SERIES
FOR I = 70 TO 7 STEP -9
PRINT I
NEXT I
END SUB

WAP to generate the series 0.00003,0.0003,,0.003,0.03,0.3 (Prev Lesson)
(Next Lesson) WAP to generate the following series 1,121,12321,1234321,123454321
Back to QBasic Programming

No Comments

Post a Reply

Course Curriculum

error: Content is protected !!