0
what category of internal program
answer
1 Antwort
+ 6
HEMA MALINI.M HEMA MALINI.M please show us your attempt as we are are not a code writing service nor are we here to do your assignments for you.
Please also use proper tags such as c++ , Java, or c# or whatever language followed by in this case conditions and followed by rather its a loop such as for loop, while loop, do-while loop, or if it's a switch function
Eg ..
Question: I don't understand this type of condition or this type of function
Description:
The conditions such as if, else if, and else
if (( j >= 90 ) && ( j <= 100 ) || j == 95 ) {
cout << "You passed" << endl;
} else if (( j >= 75 ) && ( j <= 89 )) {
cout << "You passed but still should study" << endl; } else { cout << "You failed and should really study harder next time." << endl;
}
Tags:
C++
conditions
if else if else