Computer Science, asked by ahujahimanshi03, 3 months ago

Write a program in Q Basic to display the series 33333, 3333, 333, 33, 3 using for next loop ​

Answers

Answered by anindyaadhikari13
1

Question:-

Write a program in QBASIC to display the following series.

33333 3333 333 33 3

Program:-

CLS

LET A=33333

FOR I=1 TO 5 STEP 1

PRINT A+" "

A=A-3

A=A/10

NEXT I

END

Answered by BrainlyProgrammer
2

Answer:

Question:

  • program in Q Basic to display the series 33333, 3333, 333, 33, 3 using for next loop

Code:

CLS

N=33333

FOR I=1 TO 5

PRINT N+" "

N=INT(N/10)

NEXT I

END

#SHORTEST_PROGRAM_POSSIBLE

Similar questions