please explain conditional statements usage.

0 votes
asked Nov 28, 2017 by anonymous

2 Answers

0 votes
answered Nov 29, 2017 by Virginia DDaniels (260 points)
Basically condition statements are “If” clauses. Conditional tenses are highly used for speculate such as what could happen and what might have happened. Many conditional forms in English are used in condition sentences. Condition clause is used for present and past. If + simple present, If + simple past this way to make a sentence in condition form.
0 votes
answered Jan 8, 2018 by sruthi n (220 points)
the name conditional statement itself states that if the given condition is satisfied the statements should execute


void main()


int i;

printf("enter a number");







in the above program the output will be hello if and only if u give 2 as input
Welcome to OnlineGDB Q&A, where you can ask questions related to programming and OnlineGDB IDE and and receive answers from other members of the community.