Question: c++ Question1: Write a C++ program that prompt the user to enter a grocery item name and the item price. The price of the item
Question1: Write a C++ program that prompt the user to enter a grocery item name and the item price. The price of the item increases one rival per day. Use pre-increment operator to calculate the price of the first 3 days as shown in the sample output Notice: Use output manipulator(setw, setfill, left, right) to show the results as shown in the sample output. Example: Current day price---------22.5SR Tomorrow price... ---- -23.5SR Problem definition: Calculate the price of an item on the first 3 days with the addition of one riyal per day
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
