Question: Language:C++ - Take input for your age as an integer - If your age is less than 20 or more than 70, then print no.
Language:C++
- Take input for your age as an integer - If your age is less than 20 or more than 70, then print "no". Otherwise print "yes" - Use the logical OR operator (||). You cannot use logical AND operator (\&\&)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
