write a qbasic program to calculate the sum of the first 50 numbers
Answers
Answered by
3
in the above image the answer is given I hope it will help you
Attachments:
Answered by
6
REM " TO CALCULATE THE SUM OF FIRST 50 NUMBERS "
CLS
A = 0
FOR I = 1 TO 50
A = A + I
NEXT I
PRINT " THE SUM OF FIRST 50 NUMBERS IS " ;A
END
Similar questions