C++ Conditional Statement: IF and ELSE

If you have completed your studies in Introduction to C++, our most sincere congratulations.
You are already a programmer and the hardest is behind.

Now is the time to make our programs bigger, bigger, more complex, doing more and more amazing things. And let's start this all by learning how to do tests.

Yes, just that: test things out.
Computing is all about testing.

Your phone keeps testing if you are touching it, otherwise it turns off the screen.
When you enter your username and password, the system checks to see if you entered the correct information.
When withdrawing at the ATM, a test is made to see if you have a balance and you have not exceeded the limit yet.

And so on ... it's all testing, it's testing all the time and testing everywhere.
Doubt? Let's test to see if it's true.

IF and ELSE tutorials

  1. Relational operators in C++
  2. The IF conditional statement
  3. The IF and ELSE statement
    Even or Odd ?
  4. The ternary condicional operator ?:
  5. Nested IF and ELSE statements
  6. Logical operators: AND (&&), OR (||) and NOT (!)
    Leap year
  7. Switch case statement
  8. IF, ELSE and SWITCH problems

No comments:

Post a Comment