2-5. Write the programs for the following:
1. Write a Small Basic program to print odd numbers between 1 to 10 using For...EndFor
statement with output
Answers
Answered by
3
Answer:
- This program prints out numbers from 1 to 24 in order. This process of incrementing a variable is very common in programming that programming languages usually provide an easier method of doing this. The above program is equivalent
Answered by
0
Answer:
10 Cls
20 Let a = 1
30 If (a > 10) Then
40 GoTo 90
50 End If
60 Print a
70 a = a + 1
80 GoTo 30
90 End
Explanation:
Similar questions