Please write a complete C program which uses a user defined function to calculate the student's AverageMark and assign i

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899603
Joined: Mon Aug 02, 2021 8:13 am

Please write a complete C program which uses a user defined function to calculate the student's AverageMark and assign i

Post by answerhappygod »

Please Write A Complete C Program Which Uses A User Defined Function To Calculate The Student S Averagemark And Assign I 1
Please Write A Complete C Program Which Uses A User Defined Function To Calculate The Student S Averagemark And Assign I 1 (29.4 KiB) Viewed 35 times
Please write a complete C program which uses a user defined function to calculate the student's AverageMark and assign it a letter grade. The program should use the following function prototype: char CalculateGrade(int Homework, int Quiz, int Lab, int Midterm, int Final) Use the following formula to calculate the AverageMark AverageMark-0.05 Homework+0.15*Quiz+0.20 Lab+0.25 Midterm+0.35*Final Note that the letter grades will be assigned in accordance with the following rules: if mark is less than or equal to 45, lettergrade is F if mark is greater than 45 and less than or equal to 60, LetterGrade is D if mark is greater than 60 and less than or equal to 70, LetterGrade is C if mark is greater than 70 and less than or equal to 80, LetterGrade is B if mark is greater than 80, LetterGrade is A
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply