Question: IN python Write a program using while loop with validation where user input wholesale prices to calculate retail prices. The markup is 2 . 5

IN python Write a program using while loop with validation where user input wholesale prices to calculate retail prices. The markup is 2.5 times. Validation is to check if a value is out of range and display a message to let the user know that the value entered is an error. In this case the wholesale value cannot be less than zero. Also No lists, functions, dictionary. You are not allowed to use break or continue.
also the format is like this
#input
#calc
#output
Sample Run 1
Enter the items wholesale cost: -.50
ERROR: the cost cannot be negative
Enter the correct wholesale cost: .50 Retail price is $1.25
Do you have another item? (Enter y for yes): n

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!