Question: Write a program that asks you to enter an integer value. Assign (read it into) a variable of type int.. The program should then check
Write a program that asks you to enter an integer value. Assign (read it into) a variable of type int.. The program should then check if the variable is small enough to be type short.. If it is, the program should print
_____ is small enough to be a short type.
Where the blank is the number is the number you entered.
If the number is too big to be type int, print out
_____ must be type int
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
