Advertisements
Advertisements
Question
Define control structure.
Advertisements
Solution
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
RELATED QUESTIONS
Elif can be considered to be the abbreviation of ______.
Which statement is generally used as a placeholder?
The condition in the if statement should be in the form of ______
Which amongst this is not a jump statement?
Write a note on the break statement.
Write is the syntax of if..else statement?
Write a program to display.
A
A B
A B C
A B C D
A B C D E
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.
