The world’s Largest Sharp Brain Virtual Experts Marketplace Just a click Away
Levels Tought:
Elementary,Middle School,High School,College,University,PHD
| Teaching Since: | Apr 2017 |
| Last Sign in: | 103 Weeks Ago, 3 Days Ago |
| Questions Answered: | 4870 |
| Tutorials Posted: | 4863 |
MBA IT, Mater in Science and Technology
Devry
Jul-1996 - Jul-2000
Professor
Devry University
Mar-2010 - Oct-2016
Pretty easy C program to calculte grade (see attached file)
ECE 175: Computer Programming for Engineering ApplicationsExtra Credit: Exam # 2Due Date: Friday, December 2, 2016 5:00 PM via the D2L DropboxConventions:Name your C programs asextracreditpx.c, wherexis the problem number for the extra credit as-signment. This assignment will credit your exam #2 grade with a maximum of 10 points. Write comments to yourprograms. Programs with no comments will receive PARTIAL credit. At each program you turn in at least thefollowing info should be included- Author: - Date created: - Brief (two-line) description of the program:Submission Instructions:Use the dropbox on D2L to submit only the .c files.Problem 1:Calculate your grade (5 points)Write aCprogram to calculate student grades in this class. Your code must use a structure namedstudentinfo. Thestructure must have the following fields (at least).•StudentName: A character array for the student’s name; 100 elements is fine (i.e. no need for dynamicallocation).•ZyanteParticipation: A dynamically allocated array fornZybooks entries. Ask the user how many entriesare to be entered.•HomeworkAssignments: Dynamically allocate memory formentries. Ask the user how many entries are tobe entered.•Midterm1: An integer, points earned on exam 1.•Midterm2: An integer, points earned on exam 2.•FinalProject: An integer containing the points earned on the project.•GradePrcnt: A float showing the percentage calculated.•LetterGrade: A char showing the letter grade.YourCprogram must•Prompt the user to enter in the number of students in the class.•Dynamically allocate memory for the appropriate number of students.•Prompt the user to enter in the number of Zybooks entries.•Dynamically allocate memory for the appropriate number of Zybooks entries.•Prompt the user to enter in the number of homework scores.•Dynamically allocate memory for the appropriate number of homework entries.•Ask the user to enter information for each student:–Name–Scores for each Zyante participation, homework, midterm, and final project.•Calculate grade percent, and letter grade.•Display all information for each student.For this portion of the homework you do not need to use linked lists. Using an array of typestudentinfois perfectlyacceptable.1
Attachments:
-----------