Question: How to do this on C++ Write a program that reads data from the file data.in. The data read consists of the unit price and
How to do this on C++
Write a program that reads data from the file data.in. The data read consists of the unit price and quantity o 12.7523 f 3 items. For example, the file data.in ccontains the following data 16.258 Your program should output the following to your screen Item Number Unit Price 12.75 9.50 16.25 Quantity 23 12 8 Item Total 293.25 114.00 130.00 2 GST Grand Total 26.86 564.11
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
