Create two user-defined functions.

You will need to create two user-defined functions. The first function requires two parameters and should return the calculated percentage. The second function requires the calculated percentage along with the assigned weight. This function should return the weighted percentage

Your .php file should calculate and output the following values:

  1. Percentage earned (for each grade component)
  2. Weighted value earned towards the total grade (for each grade component)
  3. Final grade percentage and letter grade

 

For the final letter grade, you should use the breakdown listed below. As the determination of the letter grade is simple, you can use advanced operators to determine the letter grade. Decision structures should not be used

DETAILED ASSIGNMENT

20201001063421assignment

Powered by WordPress