Question: Write a program that asks the user to enter two numbers between 2 0 0 and 1 0 0 0 , inclusive . If any

Write a program that asks the user to enter two numbers between 200 and 1000, inclusive . If any of the numbers entered is outside the range above , display the message " Invalid number " and exit the program using System.exit (0) ; If the numbers are within the range , add the two numbers together and display the result . If the result is greater than 1900, display " WOW , one of the numbers you entered is greater than or equal to 950 If the result is less than 300, display " One of the numbers you entered is less than 100 Otherwise , display any message of your choice .

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!