Question: C++ Language make it as simple as possible please Write a program that will read in the quantity of a particular item and its price.
Write a program that will read in the quantity of a particular item and its price. It will then print out the total price. The input will come from a data file and the output will go to an output. (You must create the data file.) Create the data file called transaction.dat that has the following information: 10.98 Write the statements that will read the data from the transaction.dat file and print the following to bill.out file The total bill is $241.56 SAMPLE RUN (Input is from a file and output is to a file): transaction.dat file 10.98 bill.out file The total bill is $241.56
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
