IDNLearn.com is the perfect place to get detailed and accurate answers to your questions. Our Q&A platform offers reliable and thorough answers to help you make informed decisions quickly and easily.

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.