The program shall have an initial prompt informing the user of the program’s purpose, and a program termination message.

Is this your question too? Our experts can help you prepare an answer and you can learn from the assignment. You can email your assignment to assignment@tutehelp.com or Click Here to Instantly Upload Assignment Online or visit our Service Page to know more about us.

You have been asked to design a program to calculate total price of an order from an Office Supply store. The program shall prompt the user for the name of the product, the price of the product, and the quantity of the order. The store does not carry any products that cost more than $5,000 or less than $1. If the product price is within the valid range, the program will display a confirmation message; otherwise the program will display an error message and then terminate the application. Also, there will be a discount on the final cost using the following criteria:

Quantity
Discount Percent

0-5
0

6-10
5

11-15
10

16-20
15

Over 20
20

A negative value for the quantity shall be rejected, an error message sent, and the program terminated.

The program will output the product name, product price, quantity, discount rate, and total cost. The program shall have an initial prompt informing the user of the program’s purpose, and a program termination message.

Be sure to THINK about the logic and design first (IPO chart and pseudocode), then code the Visual Logic command line processing. Display all output using currency formatting (built-in Visual Logic function

Comments are closed.