Professional Documents
Culture Documents
Summary Different Statements
Summary Different Statements
OR
if (condition)
{
true statements;
}
(
OR
if (condition)
{
true statements;
}
else
{
false statements;
}
while (condition)
{
repeated statements;
}
OR
do
{
repeated statements;
}
while (condition);
for initialize
repetition evaluate condition for(initialize;
if condition repeatedly condition;
perform actions increment)
perform increment statement;
re-evaluate condition OR
for(initialize;
condition;
increment)
{
statements;
}