Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

** 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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Programming With Visual Basic .NET

Authors: Carsten Thomsen

2nd Edition

1590590325, 978-1590590324

More Books

Students also viewed these Databases questions