Write a program in Q Basic to display the series 33333, 3333, 333, 33, 3 using for next loop
Answers
Answered by
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
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
English,
3 months ago
English,
3 months ago
Social Sciences,
3 months ago
Hindi,
6 months ago
Math,
6 months ago
Social Sciences,
11 months ago
English,
11 months ago