The document calculates the average of three test scores, then uses if/else statements to determine the grade based on the average. It prints the average and corresponding grade, which can be excellent, very good, good, fair, pass, or failed depending on the average being above or below certain thresholds.
The document calculates the average of three test scores, then uses if/else statements to determine the grade based on the average. It prints the average and corresponding grade, which can be excellent, very good, good, fair, pass, or failed depending on the average being above or below certain thresholds.
The document calculates the average of three test scores, then uses if/else statements to determine the grade based on the average. It prints the average and corresponding grade, which can be excellent, very good, good, fair, pass, or failed depending on the average being above or below certain thresholds.