Conditional Statements

Many a times, we want a set of instructions to be executed in one situation, and an entirely different set of instructions to be executed in another situation. This kind of situation is dealt in C++ programs using a decision control instruction.

In decision making structure programmer specifies one or more conditions to be evaluated or checked by the program, on the basis of result i.e. either true or false , statements get executed.

Below is the abstract representation of decision making statement ..

C++ programming language assumes any non-zero and non-null values as true , and if it is either zero or null, then it is assumed as false value.

C++ programming handles decision-making by supporting the following statements,

       Simple if Statement    

       if-else Statement    

       if-else Ladder Statement    

       Nested if-else Statement    

       Switch Statement    

Next topic is Loops


Training For College Campus

We offers college campus training for all streams like CS, IT, ECE, Mechanical, Civil etc. on different technologies like
C, C++, Data Structure, Core Java, Advance Java, Struts Framework, Hibernate, Python, Android, Big-Data, Ebedded & Robotics etc.

Please mail your requirement at

Projects For Students

Students can contact us for their projects on different technologies Core Java, Advance Java, Android etc.

Students can mail requirement at

(8AM to 10PM):

+91-8527238801 , +91-9451396824

© 2017,, All rights reserved