Fill This Form To Receive Instant Help
Homework answers / question archive / Write a C program that runs on ocelot for a salary calculator using only the command line options
Write a C program that runs on ocelot for a salary calculator using only the command line options. You must use getopt to parse the command line.
The calculator will only do bonuses and raises to a base salary as well as a veterans bump.
Usage: salary [-b bnum] [-r rnum] [-v] base
Create a simple Makefile to compile your program into an executable called salary.
Test your program with the following command lines and take a screenshot after running the three lines. The command prompt should be viewable.