0
Multiple if
how to give intervals between ages ...like -if age is between 18to 42......print adult....what is the operation for the above sentence.
4 Réponses
+ 2
if (age >= 18 && age <= 42) {
...
}
0
how do u do the same for switch statements...
0
Unfortunately, you can't in C++.
0
ya ....i tried it .....was showing error ....is there other way for giving intervals