write the same sentence using if-else statement b=(a>25)?25:35;
Answers
Answered by
1
Answer:
25:35:86:9
Explanation:
Answered by
4
Answer:
programming are used to make decisions based on the conditions. Conditional statements execute sequentially when there is no condition around the statements. If you put some condition for a block of statements, the execution flow may change based on the result evaluated by the condition. This process is called decision making in ‘C.’
In ‘C’ programming conditional statements are possible with the help of the following two constructs:
1. If statement
2. If-else statement
It is also called as branching as a program decides which statement to execute based on the result of the evaluated condition.
hope it helps u keep smiling :)
Similar questions