Question: 5) Write a script that asks a user to input two numbers. Output whether the difference of the first number and the second is positive,

 5) Write a script that asks a user to input two

5) Write a script that asks a user to input two numbers. Output whether the difference of the first number and the second is positive, negative, or zero. Also make sure that the usei entered a valid numbers.(25 points) Here are some example runs (make sure your program outputs the same exact message) Enter the first number: hello THIS IS NOT A NUMBER Enter the first number: 5 Enter the second number: whatever This is NOT A NUMBER Enter your first number: 5 Enter the second number: 2 The difference is POSITIVE Enter vour first number. 2 Enter the second number: 5 The difference is NEGATIVE Enter your first number: 5 Enter the second number: 5 This difference is ZERO

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 Databases Questions!