Question: Write a Cprogram for a grade calculation to run on ocelot. The source file should have your name & PantherlD included in it and it

 Write a Cprogram for a grade calculation to run on ocelot.

Write a Cprogram for a grade calculation to run on ocelot. The source file should have your name & PantherlD included in it and it should have an affirmation of originality stating something like: "I affirm that I wrote this program myself without any help form any other people or sources from the internet." Code should be nicely indented using a consistent style and commented appropriately An array should be used for each student's list of courses, but it is not required as long as all values are in variables Course is an array of characters. Credits is an integer . .Grade is a floating point number Grade Points earned should be calculated as you print not stored in a variable. There should be at least 6 courses listed There is no user input, all values should be hard coded in the program Columns should be aligned as shown in the sample below .Course column left justified. Credits centered .Grade right justified with 2 decimals Grade Points Earned right justified with 2 decimals The grade points earned should be calculated in a formula with multiplication right while printing it out. It should not be stored as a variable Create a simple Makefile to compile your program into an executable called gpa. You should submit the source code and your Makefile file compressed into a zip file named FirstNameLastNamel1.zip. The Makefile should be called Makefile with no extension. I should be able to type make at the command line to compile your program. Do not include any other files or folders in the zipfile. This applies even if you are a Mac user Programs that do not compile and do something useful when run will not earn any credit at all. Sample Output: Student Name: YourFirstName YourLastName Panther ID: 9999999 Course COP2210 ENC1101 GradeGrade Points Earned 12.00 8.01 9.00 4.00 2. 67 3.00 Total Current GPA: 3.22

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!