How to use if-else logic in c++ | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How to use if-else logic in c++

24th Oct 2020, 3:22 AM
Hammad Afzal
Hammad Afzal - avatar
1 Answer
+ 1
Like this. If you want some examples, navigate to: https://www.tutorialspoint.com/cplusplus/cpp_if_else_statement.htm It isn't very different from how you use if-statements when talking with people in English. Logic is the same regardless of language.
24th Oct 2020, 3:27 AM
Josh Greig
Josh Greig - avatar