Question
GPA Calculator For this assignment, you will calculate the grade point average (GPA) of a student in a class that assigns ten (10) homeworks, five
GPA Calculator For this assignment, you will calculate the grade point average (GPA) of a student in a class that assigns ten (10) homeworks, five (5) quizzes, a midterm and a final. The students grades will be stored in an array in the following order: Assignments Homework 1 Homework 2 Homework 3 Homework 4 Homework 5 Homework 6 Homework 7 Homework 8 Homework 9 Homework 10 Quiz 1 Quiz 2 Quiz 3 Quiz 4 Quiz 5 Midterm Final Indices 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 The program should define the following functions: Function Name: GetHomeworks() Parameter(s): grds: float array Return: void It should prompt the user to enter each homework grade. Furthermore, make sure that all grades entered are between 0 and 100 inclusively. If the user enters an invalid grade for a homework, have the user re-enter it until it is valid. And make sure to store the values in the correct indices.
this is the first question , i tried doing this code but cant get the if else statement to work. can someone code this for me and i will take care of the 5 quizes , midterm and final . CODE IN C++
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started