Question: c++ program: Create a program that processes a number of data items passed in via the command line. When your program executes it will check
c++ program:
Create a program that processes a number of data items passed in via the command line. When your program executes it will check the command line arguments for information on how the program is to manipulate the data. If the user passes a -sas the first parameter, assume the data is cStrings, a -n specifies the data will be numbers. If the data is numeric, convert the data to floats and then display the sum as well as the average. Regardless of the data, display all of the assignments except the name of the program.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
