Write a program that determines, using only the conditional operator, if an integer that is entered has a value that is 20 or less, is greater than 20 but not greater than 30, is greater than 30 but not exceeding 100, or is greater than 100. Write a program that outputs the squares of the odd integers from 1 up to a limit that is entered by the user.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here