Question: Please help with these Assignment 1 Direction: Submit the typed source code. GPA Calculator For this assigament, you will calculate the grade point average (GPA)
Assignment 1 Direction: Submit the typed source code. GPA Calculator For this assigament, you will calculate the grade point average (GPA) of a student in a class that assigns ten (10) bomeworks, five (5) quizaes, a midterm and a fnal. The student's grades will be stored in an array in the following order: Assignments Indices 0 1 2 3 4 5 6 7 8 9 10 1 12 13 14 15 16 The program should define the following functions: Parameterl Return: grds: tloat array voikl It should prompt the user to etter each loin.work grale. Furthermore, make sure that all grads entered are betweeni 0 and 100 inclusively. Ii the user euters an iavalid grale for a homework, have the user re-enter it until it is valid. And make sure to store the valhes in the corect iadices. Function Name:GetQuizzesO Parameter() Return grds: Boat arr li slanikl prvenpt the taser to cules oach quiz grade. Furtirnadre, auake sure that all pales eaternel are betweei 0 auol 100 nclusively. If tle user euters au invaliul grade for a quiz, have the user seevater it until it is valid Ail nle se to store the values in the cozrect iulaes, Function Name:GetMidtern) Parameterts) l' 'Inn ill isuu.lt 'I--T to, tin iLuale". Zral. . Featherttain, anakr sun. Laat tlar serah.camdis Assignment 1 Direction: Submit the typed source code. GPA Calculator For this assigament, you will calculate the grade point average (GPA) of a student in a class that assigns ten (10) bomeworks, five (5) quizaes, a midterm and a fnal. The student's grades will be stored in an array in the following order: Assignments Indices 0 1 2 3 4 5 6 7 8 9 10 1 12 13 14 15 16 The program should define the following functions: Parameterl Return: grds: tloat array voikl It should prompt the user to etter each loin.work grale. Furthermore, make sure that all grads entered are betweeni 0 and 100 inclusively. Ii the user euters an iavalid grale for a homework, have the user re-enter it until it is valid. And make sure to store the valhes in the corect iadices. Function Name:GetQuizzesO Parameter() Return grds: Boat arr li slanikl prvenpt the taser to cules oach quiz grade. Furtirnadre, auake sure that all pales eaternel are betweei 0 auol 100 nclusively. If tle user euters au invaliul grade for a quiz, have the user seevater it until it is valid Ail nle se to store the values in the cozrect iulaes, Function Name:GetMidtern) Parameterts) l' 'Inn ill isuu.lt 'I--T to, tin iLuale". Zral. . Featherttain, anakr sun. Laat tlar serah.camdis
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
