Advertisements
Advertisements
प्रश्न
Define control structure.
Advertisements
उत्तर
A program statement that causes a jump of control from one part of the program to another is called a control structure or control statement. As you have already learned in C++, these control statements are compound statements used to alter the control flow of the process or program depending on the state of the process.
APPEARS IN
संबंधित प्रश्न
How many important control structures are there in Python?
Which is the most comfortable loop?
What is the output of the following snippet?
i=1
while True:
if i%3 ==0:
break
print(i,end='')
i +=1
What is the output of the following snippet?
T=1
while T:
print(True)
break
Write a note on the break statement.
Write a note on the range () in the loop?
Using if..else..Elif statement writes a suitable program to display the largest of 3 numbers.
Write the syntax of the while loop.
List the differences between break and continue statements.
Write a program to display a multiplication table for a given number.
