Your task for this lab is to write a program that reads in a number of floating point values from a file, adds them together, and then prints out the total.
It must also print out the sales tax on the total at a 5.3% rate, and the final total of the original items + sales tax.
The input is from a file called "items.txt" and the output should be to a file called "total.txt".
Here is a sample items.txt file.
Here is the output that should appear in total.txt.
Copyright © 2024 Ian Finlayson | Licensed under a Creative Commons BY-NC-SA 4.0 License.