Visual C++ - Statements
Statements are one step in the program.statements
expression statement Expression statement is evaluating the expression, then make an evaluation and program execution continues wit...
loop with condition at the end Condition testing is done at the end of the loop. consequently, the loop is performed at least once. after eac...
loop with condition on the beginning Condition testing is done at the beginning of the loop. before each iteration the condition is tested, if it i...
conditional statement By conditions we can control our program. thanks conditional statement we can control program running in two d...
block statement A compound statement is also known as block. to connect more than one statement in a statement, eventually red...
automatic variable declaration Variable declaration is used for its creation.
increment statement It is a mathematical operation that is used to increase the number by one.
decrement statement Decrement statement it is a mathematical operation that is used to decrease the number by one.
Visual C++ .NET
Other pieces of example codes:while (y>1) { x++; y--; }
if (y < 100) x++;
if ( y > 32 ) c=true;
long long y = -(1512345 / 70);
do --i; while ( i > 0);
y =(double)(x * y);
Statements in another programming language:
Differences to: