Discover the best answers at Westonci.ca, where experts share their insights and knowledge with you. Discover detailed answers to your questions from a wide network of experts on our comprehensive Q&A platform. Our platform provides a seamless experience for finding reliable answers from a network of experienced professionals.

The student cd contains a file named random.txt. This file contains a long list of random numbers. copy the file to your hard drive and then write a program that opens the file, reads all the numbers from the file, and calculates the following:_________.
a) the number of numbers in the file
b) the sum of all the numbers in the file (a running total)
c) the average of all the numbers in the file
the program should display the number of numbers found in the file, the sum of the numbers, and the average of the numbers.