Problem description
A man buys six items for the home. The total retail price of each product is as follows: product 1, $2.98; product 2, $4.50; product 3, $9.99; product 4, $4.49; product 5, $6.98.
Write a C++ program that reads a series of pairs of numbers as follows:
Product number
Quantity bought for one day
Your program should determine the sale price for each product and should calculate the total value of purchases.
Use a sentinel controlled loop to determine when the program should stop looping
الرجاء من من يستطيع حله ان يسرع في ذلك
مع الشكر المسبق للجميع
