Write a C++ program that asks for the number of units purchased and computes the total cost of the purchase.
A software company sells a package that retails for $99. Quantity discounts are given according to the following table.
Be sure to include the following:
Input Validation: Decide how the program should handle an input of less than 0.
Using Const to represent the RETAIL price per unit before the discount
Display formatted results, using fixed, showpoint, $ sign, and setpercision(2)
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here