Question
Assume that a file containing a series of integers is named numbers.txt. Design a program to read all numbers into an array. Then the program
Assume that a file containing a series of integers is named numbers.txt. Design a program to read all numbers into an array. Then the program will calculate the total of all numbers, the highest number, the lowest number, and the average. The program will then write all results into another file named result.txt The file that was attached and named numbers-1.txt has the following numbers listed..... 123 52 68 159 87 36 268 43 87 189 358 458 195 65 85 600 Requirements: 1. need to read all numbers into an array before calculation 2. psuedocode and flowchart using Raptor.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started