Question: In this assignment you will write a C filter program that formats a jumbled stream of input numbers into nicely organized columns. To determine the

 In this assignment you will write a C filter program thatformats a jumbled stream of input numbers into nicely organized columns. To

In this assignment you will write a C filter program that formats a jumbled stream of input numbers into nicely organized columns. To determine the parameters for the output formatting your program will make use of command-line arguments, environment variables, and a configuration file. To test your program you will need to use the Windows command-line. First, get your filter to print all of the input numbers in a single column with their decimal points lined up (and all 13 digits of precision). . Second, create three columns of output (with the decimal points lined up). Be sure to take into consideration that the last row need not have three columns. Third, have a command line argument determine the number of columns. Fourth, have the environment variable determine the number of columns. Fifth, let a command line argument or an environment variable determine the precision of the output numbers. Last, check for the configuration file (before checking for the environment variables and the command-line arguments) and, if it exits, have its values override the default values. In this assignment you will write a C filter program that formats a jumbled stream of input numbers into nicely organized columns. To determine the parameters for the output formatting your program will make use of command-line arguments, environment variables, and a configuration file. To test your program you will need to use the Windows command-line. First, get your filter to print all of the input numbers in a single column with their decimal points lined up (and all 13 digits of precision). . Second, create three columns of output (with the decimal points lined up). Be sure to take into consideration that the last row need not have three columns. Third, have a command line argument determine the number of columns. Fourth, have the environment variable determine the number of columns. Fifth, let a command line argument or an environment variable determine the precision of the output numbers. Last, check for the configuration file (before checking for the environment variables and the command-line arguments) and, if it exits, have its values override the default values

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!