how to write a program in qbasic to find sum from 1 to 100. Please help me!
Answers
Answered by
1
10 SUM = 0
20 N = 1
30 FOR N = 1 to 100 step 1
40 SUM = SUM + N
50 Next N
60 Print SUM
Similar questions