Answer to Question #38809 in C++ for Ash Rahman
An online shopper searches web to find an item and purchase is from the state with the lowest tax rate. Write a simple C++ program to do the following: Ask the user for the unit price of the item, the number of items the shopper wants to purchase, the name of the first state, the tax rate in the first state, the name of the second state and the tax rate in the second state. Then, calculate the total cost for each state and decide from which state the shopper should buy the item. Display the following to shopper: The unit item cost, the number of items purchased, the name and tax rate of the first state, the name and tax rate of the second state, and your recommendation on from which state the shopper should make the purchase.
No comments. Be first!