Taking age as input and finding if it is greater or equal to 60.
Take user input as a positive, negative or zero integer value and check if it is a non zero value.
A number is made absolute by removing its negative sign if present.
We collect weather temperature from user and do a range check, then if true will do multiple instructions in the if block scope.
Collecting a char input and checking the input as a digit or a non-digit.
Checking for user’s entry being not an alphabet first, else tell that it is an alphabet
Checking for user’s entry being is an alphabet first, else tell that it is not an alphabet
Applying discounts on price based on only 1 quantity or volume of purchase based slab.
Matching of userid and password in the same condition and if not matched giving a common mismatch message.
Test if a number is divisible by 7 or the last digit is 7, means whether the number is a buzz number.
Understanding the behaviour of if when nothing is done when if condition is true.
Write the output of the following c++ program when the user input value are -
Write a program which collects an integer number from the user and if the nu
Write output of the following code. Assume that required header files are inc