Question
in c language Learning Outcomes: 1) Everything (up to and including structures)! Its time to consider more than one student! The purpose of this project
in c language
Learning Outcomes:
1) Everything (up to and including structures)!
Its time to consider more than one student!
The purpose of this project is to create a fee invoice application for students attending Valence Community College. The main menu for your application must have the following options.
1- Add a new student
2- Add/Delete a course for a student
3- Search for a student
4- Print fee invoice
For every option, you must have a separate function. Feel free to add helper functions as needed.
Additional Information
It costs 120.25 dollars per credit hour in addition to $35.00 charged for health and id services.
Valence Community College offers the following course:
CRN Course Credit Hours
4587 MAT 236 4
4599 COP 220 3
8997 GOL 124 1
9696 COP 100 3
1232 MAC 531 5
9856 STA 100 2
8520 TNV 400 5
8977 CMP 100 1
Note that we are considering the names of the students in this project. Furthermore, a student can take up to 4 courses this time!
A fee invoice should look like
VALENCE COMMUNITY COLLEGE
ORLANDO FL 10101
---------------------
Fee Invoice Prepared for Student:
5959-DANIEL TAZI
1 Credit Hour = $120.25
CRN CR_PREFIX CR_HOURS
4599 COP 220 3 $ 360.75
4587 MAT 236 4 $ 481.00
Health & id fees $ 35.00
--------------------------------------
Total Payments $ 876.75
Sample Run (The users entry is in bold)
Welcome!
Choose from the following options:
1- Add a new student
2- Add/Delete a course
3- Search for a student
4- Print fee invoice
0- Exit program
Enter your selection: 3
Enter the students id: 8989
No Student found!
--------------------
Choose from the following options:
1- Add a new student
2- Add/Delete a course
3- Search for a student
4- Print fee invoice
0- Exit program
Enter your selection: 1
Enter the students id: 5900 <<< Make sure that no student with id 5900 already exists
Enter students name: John Smith
Enter how many courses [JOHN SMITH] is taking (up to 4 courses)?
2 <<< Check for the validity of the number of how many courses
Enter the 2 course numbers
4587 4599 <<< Check for the validity of the entered course numbers.
<<< You may display the offered courses so its easy to pick the crns
Student added successfully!
--------------------
Choose from the following options:
1- Add a new student
2- Add/Delete a course
3- Search for a student
4- Print fee invoice
0- Exit program
Enter your selection: 4
Enter the students id: 5959 (Assume that student 5959 has been already added)
VALENCE COMMUNITY COLLEGE
ORLANDO FL 10101
---------------------
Fee Invoice Prepared for Student:
5959-ALLAL TAZI
1 Credit Hour = $120.25
CRN CR_PREFIX CR_HOURS
4587 MAT 236 4 $ 481.00
4599 COP 220 3 $ 360.75
Health & id fees $ 35.00
--------------------------------------
Total Payments $ 876.75
--------------------
Choose from the following options:
1- Add a new student
2- Add/Delete a course
3- Search for a student
4- Print fee invoice
0- Exit program
Enter your selection: 2
Enter the students id: 5959
Here are the courses [ALLAL TAZI] is taking:
CRN PREFIX CR. HOURS
4587 MAT 236 4
4599 COP 220 3
Choose from:
A- Add a new course for [ALLAL TAZI]
D- Delete a course from [ALLAL TAZI]s schedule
C- Cancel operation
Enter your selection: D <<< Your code should accept lower case d
Enter course Number to delete: 4599
[4599 COP 220] is deleted successfully!
Want to display the new invoice? Y/N: y <<< Your code should accept lower case y/n
VALENCE COMMUNITY COLLEGE
ORLANDO FL 10101
---------------------
Fee Invoice Prepared for Student:
5959-ALLAL TAZI
1 Credit Hour = $120.25
CRN CR_PREFIX CR_HOURS
4588 MAT 236 4 $ 481.00
Health & id fees $ 35.00
--------------------------------------
Total Payments $ 516.00
--------------------
Choose from the following options:
1- Add a new student
2- Add/Delete a course
3- Search for a student
4- Print fee invoice
0- Exit program
Enter your selection: 0
Goodbye!
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started