Question: 1 . Create a program that uses a loop that does the following: ( 4 0 points ) a . Ask the user to enter

1. Create a program that uses a loop that does the following: (40 points)
a. Ask the user to enter a positive integer number.
b. If the number is less than zero display Negative Number.
c. Otherwise, display a name based on the following:
i. numbers from 5099 display your name,
ii. numbers 100 or greater display John Doe,
any other numbers display No Name

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!