Conditional Statement: if Statement in C++ Programming Language

 

Conditional Statement: if Statement in C++ Programming Language

Conditional Statement:

  • if today is Thursday I have test today
  • If you will run fast, u will catch the bus
  • if x is dividable by 2 then x is even number
  • If the traffic signal is red, stop the car

if Statement:

The basic if statement enables you to choose to execute a single statement, or a block of statements, when a given condition is true. 
Conditional Statement: if Statement in C++ Programming Language



Post a Comment

0 Comments