Control statements are statements that alter the flow of execution according to the evaluation of an expression (the condition). The C++ control statements are ifstatements, switch statements and the tertiary conditional operator, ?:.
The basic control structure in C++ is the if statement.
The goto statement.
If statement is single selection statement,whereas the switch statement is multiple selective.
...a function call.
differance between control statement and looping statement?
if (condition) statement else statement;
The switch / case statement.
The semi-colon converts a C++ expression into a statement.
The break statement exits control of the innermost for, while or do-while loop, or switch statement.
I believe, you can use C-function - printf().
My self Dhilib... it is a simple query. if statement is a basic control statement. mostly it used in all the languages. also in c plus plus syntax: if(test condition) { true statements; } else { false-statements; } Example: void main() { int a,b; a=54; b=65; if(a>b) { cout<<" a value is big"; } else { cout<<"b value is big"; } }
Anybody can Help me PLEASE