What are conditional statements in C++? Give examples
Answers
Answered by
2
Answer:
Conditional statements help you to make a decision based on certain conditions. These conditions are specified by a set of conditional statements having boolean expressions which are evaluated to a boolean value true or false.
Example:
Example. “If today is Wednesday, then yesterday was Tuesday.” Hypothesis: “If today is Wednesday” so our conclusion must follow “Then yesterday was Tuesday.” So the converse is found by rearranging the hypothesis and conclusion, as Math Planet accurately states.
Answered by
1
Answer:
igxgodtodotdtodtoxgoxgpcgpchpchp
Similar questions