Computer Science, asked by harshita1607gmailcom, 1 year ago

write a qbasic program to calculate the sum of the first 50 numbers​

Answers

Answered by nikki200414
3

in the above image the answer is given I hope it will help you

Attachments:
Answered by Queengreen21
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