The program below reads a list of numbers from a file and prints the total when all of the values have been read in.