How many ELSEIF statements can be included between the IF and ELS
keywords?
(a) Two
(b) Four
(c) Unlimited
the program control from one stateme
Answers
Answered by
0
Answer:
see below
Explanation:
In all the programs we have written so far statements execute sequentially in the order in which they appear. But sometimes we want statements to execute only when some condition is true For example, If the bank balance is above seven figures buy a new car else renew monthly bus pass. To make such decisions C provides a facility called Control Statements.
Control statements are used to alter the flow of the program. They are used to specify the order in which statements can be executed. They are commonly used to define how control is transferred from one part of the program to another.
C language has following control statements:
if… else
switch
Loops
for
while
do... while
Similar questions