Florida State College at Jacksonville Salary Calculator C Program
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.
salary -b 2 -r 5 90000result: 96500.00salary -v -r 7 50000result: 62060.00salary 40000result: 40000.00
Top-quality papers guaranteed
100% original papers
We sell only unique pieces of writing completed according to your demands.
Confidential service
We use security encryption to keep your personal data protected.
Money-back guarantee
We can give your money back if something goes wrong with your order.
Enjoy the free features we offer to everyone
-
Title page
Get a free title page formatted according to the specifics of your particular style.
-
Custom formatting
Request us to use APA, MLA, Harvard, Chicago, or any other style for your essay.
-
Bibliography page
Don’t pay extra for a list of references that perfectly fits your academic needs.
-
24/7 support assistance
Ask us a question anytime you need to—we don’t charge extra for supporting you!
Calculate how much your essay costs
What we are popular for
- English 101
- History
- Business Studies
- Management
- Literature
- Composition
- Psychology
- Philosophy
- Marketing
- Economics