Question: I need the whole code in C + + as listed above please ! ! ! ! ! The purpose of this project is to
I need the whole code in C as listed above please The purpose of this project is to comprehensively bring together all of the things that you have learned so far from Modules and The project expands on what you created in the second project by modifying it to use functions and arrays.
Instructions:
For this project you are going to be working with information that you are familiar with, a class schedule, billing statement, and of course the concepts to writing a program that you have learned this far. For this project you are going to be working on modifying the code that you wrote in Project
For project you will need to break down your project into functions and make additional modifications as specified in the instructions.
The following information should be defined in your program:
The tuition per credit hour is $
The overall fees for a students registration is $
Two different scholarship amounts, Academic Scholarship should be set to $ while the Foundation scholarship should be set to $
You will be working with four arrays; each array is graphically shown below with the information that should be stored in it Three are string arrays and one is an integer array. Each cell in the row shows the element that should be found in the array. The name that you should use for your array is shown on the first column. Remember that the count of an array begins with not If nothing is shown in the cell, then you should initialize it to be blank Do not chance the way that the items are displayed, if you do it will impact the rest of your program.
image.png
You will have a th string array where you will store the classes the user has selected. One element in this array will consist of course prefix, number, and title.
Classes will be credit hours, credit hours, or credit hour. CS Ethics is a credit hour class. ITE Networking Fundamentals and ITE Network Architecture are credit hours, and all other courses are credit hours.
Note: Your program, will need to use the different pieces of information, course prefix, course number to determine the number of credit hours to assign for the schedule and billing portion of the program.
Your program should start by asking the user to enter the following:
Their first name
Their last name
Their student ID number. Only the numbers after any leading s
Once the user has entered their information you will then use a switch statement to provide the user with a Menu where the user can decide what he or she wants to do next. The menu and each of its options will be broken into functions.
You will need to have the following functions:
Menu this function will display the menu to the user and allow for the user to enter hisher option. You must validate that the user has selected a valid menu option before continuing. You will then have a function for each of the menu options.
SelectClasses this function will have multiple steps associated to it
a First the user should be asked how many classes heshe wants to select. There is a total of classes the user can choose from consider this when creating your th array
b Once the user has entered how many classes they want to enter you must then give the user the option to select the course prefix CS ITE, or MA The course prefix will allow for you to determine which class array to work with.
c When the user has specified the course prefix, you will then ask the user for the course number. You must verify that the number exists in the courseNo array. Once the element in the courseNo array is found, the index will specify the index for the class in the class array. You will then access that specific element to obtain the name of the course.
d When you have each of these three steps you will be able to populate your th array with the classes that have been selected.
Do not allow the user to select a class more than once.
Scholarship this function will allow the user to select the type of scholarship if they are receiving one. If not, then the scholarship value should be set to Your program should then determine the amount that will be used when the bill is calculated.
Note: The user is not setting the scholarship amount. Your program does this. The user only select which of the two scholarships heshe is receiving, if any.
ViewSchedule this function will display the student schedule on the screen. The student schedule should be similar to that from project You will use information that was gathered through the class selection function to then properly display the schedule with the appropriate tabular formatting. You must also include the credit hours for the classes and the overall credit hour that the student is enrolled in
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
