Home ยป Updates ยป If Else Statement in C++ (HINDI/URDU)|| if else if statement (Urdu/Hindi) Tutorial 12

If Else Statement in C++ (HINDI/URDU)|| if else if statement (Urdu/Hindi) Tutorial 12

What is If Else Condition

It gives either a true or false result.

Syntax If(condition)

Statement

else

statement

programs

Write a program that inputs a number and finds whether it is even or odd using if-else structure?

Write a program that inputs a year and finds whether it is a leap year or not using if-else structure?

What is If else if Statement

In which there is more condition in the else part.

Syntax

If(condition)

Statement

else if (condition)

Statement

else

statement

 

programs

Write a program that input test score and displays his grade according to the following criteria.

Test score grade

90 A

80-89 B

70-79 C

60-69 D

Below F

https://youtu.be/78y6NTSJHf8

Thanks for visiting Here!

Spread the love

Related Posts