Question: 5. Based on the program you worked on during in-class discussions (attached below), write your code to allow users to use command-line arguments to specify

5. Based on the program you worked on during in-class discussions (attached below), write your code to allow users to use command-line arguments to specify number X to be printed Y/5 times when X and Y are supplied. Make sure your check possible incorrect inputs of X and Y (including X not as a number or Y as negative or non-integer). Your source code can be written either inside Ubuntu using vi, pico, nano, etc. or in your host system then shared to Ubuntu. Run your program with different (correct and incorrect) inputs and show that your code works as needed. Take snapshots of these executions. #include
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
