Question: C++ Programming Write a program that reads data from data.in. The file consists of an unknown number of lines each of which contains the unit
C++ Programming

Write a program that reads data from data.in. The file consists of an unknown number of lines each of which contains the unit price and the quantity of an item. For example if the data.in consist of the following data: 16.00 24 7. 47 13 2.10 15 12.4718 Your program should output the following on your screen Item Number Unit Price Quantity Item Total 16.00 747 2.10 12.47 384.00 97.11 31.50 224.46 1 2 13 15 4 GST 36.85 Grand Total 778.92
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
