C - Conditional Statement
Control Statement: Generally C program statement is executed in a order in which they appear in the program. But sometimes we use decision making condition for execution only a part of program, that is called control statement. Control statement defined how the control is transferred from one part to the other part of the program. There are several control statement like if...else, switch, while, do....while, for loop, break, continue, goto etc. if statement: Statement execute set of command like when condition is true and its syntax is If (condition) Statement; The statement is executed only when condition is true. If the if statement body is consists of several statement then better to use pair of curly braces. Here in case condition is false then compiler skip the line within the if block. void main() { int n; printf (“ enter a number:”); scanf(“%d”,&n); If (n>10) Printf...