Question
** in java ** Print out a statement asking the user for a number between 0 and 10. Create a variable to store the number
** in java **
Print out a statement asking the user for a number between 0 and 10.
Create a variable to store the number you took in from the user.
Check to make sure the number you got from the user is between 0 and 10. If it is not print out a statement telling the user that their number was incorrect and that you have chosen a different number. Then set the variable you stored their number in to a number between 0 and 10.
Repeat steps one through three until you have asked the user for three numbers.
Calculate the mean of the three numbers you have.
Use a if, else if, else statements to print Wow, that is small if the mean is less than 2, Seems about right if the mean is between 2 and 8, and Big numbers! if the mean is above 8.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started