Basic HTML Version

|  | Table of Contents |  | View Full Version

Page 105 - 2505_CoreGPT(Podar)_Flipbook_C7
P. 105

    Sample Programs using FOR...NEXT Statement

                     Program 1: To print even numbers up to 30.

                     Program 2: To print all odd numbers from 1 to 24.

                     Program 3: To print the number from 1 to 10 in reverse order.

                                                                         Looping Control Statements in BASIC-256        103

| 100 101 102 103 104 105 106 107 108 109 110 |