calculate average and assign a letter grade to use an array to pass exams, class
ID: 3653635 • Letter: C
Question
calculate average and assign a letter grade to use an array to pass exams, class labs, and homework scores to calculate average function. The calculated average should be passed to the assign letter grade function to determine the letter grade for the course. Note: Calculate average function accepts two arguments, an array of scores and the size of the array. The size of the array must be determined using the sizeof function to get the full credit for this assignment. Use the internet to research how this function is used. This lab must be completed in class today for grading.Explanation / Answer
#include void grade(double A[], int n){ double sum=0,avg; for( int i=0; iRelated Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.