EXAM 2C-Question A– Write the function the function coding…
EXAM 2C-Question A– Write the function the function coding that will have input and output. PART 1- INPUT to the FUNCTION: This function will use the INPUT VALUES as SPECIFIED in the CHART below for THREE EXECUTIONS: Each time that the function is EXECUTED, it will calculate the values and as a result it will SEND back the following OUTPUT VALUES: PART 2- OUTPUT FROM THE FUNCTION / LINE: Name: ___ EXAM AVG___ SCHOLARSHIP AVAILABLE___ SCHOLARSHIP AWARD ____ BONUS RATE_____ BONUS PTS___ FINAL GRADE __ PART 3- FORMULAS / CALCULATIONS EXAM AVG (decimal value) is found by FIRST adding togetherEXAM 1 and EXAM 2 grades THEN DIVIDING BY 2. SCHOLARSHIP AVAILABLE (decimal value) is found by USING ONE IF/ELSE/ELSE statement and the TABLE BELOW: SCHOLARSHIP AWARD (decimal value) is found by USING ONE COMPOUND/NESTED IF STATEMENT and the TABLE BELOW: BONUS RATE (decimal value) is found by USING ONE COMPOUND/NESTED IF STATEMENT and the TABLE BELOW: BONUS POINTS (decimal value) is found by MULTIPLYING the BONUS RATE by the EXAM AVG. FINAL GRADE (decimal value) is found by FIRST ADDING together the EXAM AVG and the LAB GRADE.. THEN DIVIDING this RESULT by 2 and then FINALLY ADDING the BONUS POINTS to this RESULT.
Read Details