Question: Write a computer program as a 32-bit console application in C to read a properly formatted text file, to find the number of items and
Write a computer program as a 32-bit console application in C to read "a properly formatted text file", to find the number of items and the average of a series of numbers inside the file, and then display the results on the screen. The name your source program shall be p3.cand that of your corresponding executable program shall be p3.exe. Your program shall receive information from the user as a command-line argument. For example, a typical command line to start your program (from a command prompt) might be L: >p3 testfile.txt Your program shall NOT seek information from the user such as by a call to scan(). Your program shall NOT print information to the screen except as required herein. If your program is started without any command-line arguments it shall print the following line to the screen and terminate execution: EE 233 Spring 2017 P3,
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
