Write a C program that runs on ocelot for a tuition calculator
using only the command line options. You must use getopt to parse
the command line.
The calculator will do a base tuition for enrollment and then
will add on fees for the number of courses, for the book pack if
purchased for parking fees, and for out of state tuition.
Usage: tuition [-bs] [-c cnum] [-p pnum] base
The source file should have your name & Panther ID included
in it as well as a program description and it should have the
affirmation of originality from Lab 1.
Code should be nicely indented and commented. as in Lab 1.
Create a simple Makefile to compile your program into an
executable called tuition.
Test your program with the following command lines and take a
screenshot after running the lines. The command prompt should be
viewable.
Write a C program that runs on ocelot for a tuition calculator using only the command line options. You must use getopt
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am