The keyword if tells the compiler that what follows, is a
decision control instruction. The condition following if is always
enclosed in parenthesis. The statement(s) are executed if the
condition is true......................
This is used when we want to execute certain statements for a
fixed no of times. This is achieved by initializing a loop counter
to a value and increasing or decreasing the value for certain no of
times until a condition is satisfied. The loop statements are
executed once for every iteration of the for
loop........................
<<Previous
Next
>>