#7 Nested if syntax | what is a nested if statement | if multiple conditions | nested if example

Опубликовано: 01 Октябрь 2024
на канале: Malik Shahzaib Official
39,564
772

we will learn #nested #if #else statements in c++ in #urdu #hindi multiple if else if else nested


----------------------------------------------------------------------------------


Asignment Question 2 Corrected!!

Input a number from user, If number is less than 50,
add 100 in it... otherwise subtract 10 from it

Input another number from user, If number is greater than one, multiply it with 10 otherwise, multiply it with 20.

Input an operator(+,-,*,/) from user
If user enter +.. display sum on screen
If user enter - display there substraction on screen
SAME FOR OTHER Operators!!

----------------------------------------------------------------------------------

what is a nested if statement if else else
nested if syntax
nested if example
nested if and statements
multiple conditions in if statement
nested if else example nested statement multiple if statements nested if else statement in c
nested if statement example