answersLogoWhite

0


Best Answer

cls

a =1

for i = 1 to 5

print a;

a = (a*10)+1

next i

end

User Avatar

Wiki User

10y ago
This answer is:
User Avatar
More answers
User Avatar

STD VIIA AADISHREE P...

Lvl 2
3y ago

HOPE IT WILL BE HELPFUL 😁

This answer is:
User Avatar

User Avatar

STD VIIA AADISHREE P...

Lvl 2
3y ago

HOPE IT WILL BE HELPFUL 😁

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How do you display 1 11 111 1111 11111 in qbasic using FOR.NEXT?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

How do you display qBasic programming if their is no MS-DOS prompt?

If you are using windows, MSDOS shell is integrated by default..


To print even nobetween 10 and 100 on qbasic command?

You need a code that can run to print even numbers between 10 and 100 using the qbasic command.


How do you write a name using do while loop on QBASIC?

QBasic is a type of question basic 🤗🤗🤗🤗😅😂🤣😁😛


How do you get the ouput as 11111 using while loop?

int i = 0; while( (i++) < 5 ) { printf("1"); }


Write a program in qbasic to make a hut using print statemant?

a triangle then a square :)


What is the largest number that can be represented using 5 bits?

31 - it's binary equivalent is 11111


How do you do a nested loop using Qbasic?

There several methods: For/Next loop Do/While/Until loops You can have Do Loops within Do Loops.


Is there any keyword in c or c plus plus like the function inkey in qbasic?

Using TurboC? kbhit and getch are your friends


What is the least number with 5 ones using 4 and 2 and 7?

7777 + 777*4 + 7*22 + 77 - 7 + 2 = 11111


How i will write a program in qbasic -to display your name multiple times using do whileloop?

QBASIC code/Editor Screen (Press key [F5] to make the program RUN/execute...) ==== (Pressing any key returns you straight back to the Editor screen; where you can either chose to further Edit/Re-Run/or else, Save your program.) Here is another example. CLS COLOR 15, 4, 14 PRINT "Press any key to continue" DO WHILE INKEY$ = "" LOOP FOR c = 1 TO 20 COLOR c, 0 PRINT "Replace this with the name you want to display" NEXT c COLOR 15, 0 END


How do you open a Qbasic file?

QBASIC GRAPHICS There any many different things you can draw in QBASIC; ranging from... -dots -lines -rectangles -circles -shapes empty/or, filled in(painted) -you can even do LOGO style programming to draw graphics with; by joining up connected lines -animations are possible, too ==== QBASIC BUILT-IN HELP FILE + CODE EXAMPLES In order to view the QBASIC built-in Help file...; first, load the QBASIC program itself...; and, then, do a combination key press of: [SHIFT] + [F1] Use the built-in QBASIC Help file to learn more about how to use these 'graphic related' commands, and, more...! The QBASIC Help file also contains plenty of 'example codes'; which you can just use 'copy & paste'; then, RUN...to see what the output effect will be...???


Example sentence using the word display imperatively?

Display your homework, please.