What would be the output in Self-Test Exercise 5 if the assignment were changed
to the following?
int extra = 0;
Write a multiway if-else statement that classifies the value of an int variable n
into one of the following categories and writes out an appropriate message:
n <><>
Hint: Remember that the Boolean expressions are checked in order.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here