Computer Science, asked by arjun1791, 27 days ago


2. Explain the term looping. Name any two types of loops in QBasic.

Answers

Answered by rednamprasad2020
2

Answer:

A block of looping statements in C are executed for number of times until the condition becomes false. Loops are of 2 types: entry-controlled and exit-controlled. 'C' programming provides us 1) while 2) do-while and 3) for loop. For and while loop is entry-controlled loops. Do-while is an exit-controlled loop.

Explanation:

I hope you understood well. Good night and Sweet dreams

Answered by ROSEMARIE001
0

Answer:

TO UNDERSTAND WHAT IS LOOPING, LET US GET THE ORIGNAL WORD THAT IS "LOOP". SO ORIGINALLY LOOP MEANS TO REPEAT. SO THE SAME IS HERE. ACCORDING TO THE NAME IN THE CODING (I.E. QBasic)

Loop control variable: A variable used to determine whether a loop will be executed

These loops are used to have a task repeated a specific number of times

Similar questions