1. Engineering
  2. Computer Science
  3. sum values in a fle create a text file that...

Question: sum values in a fle create a text file that...

Question details

Sum values in a fle Create a text file, that has contents that are one number per line. The fle should look something line: 12 23 34 45 56 42 9001 Create a program that reads in the text fle, and creates a sum of all the numbers that are in the tile. Your output should look something like: Total: 9280
Solution by an expert tutor
Blurred Solution
This question has been solved
Subscribe to see this solution