In the xhtml file each input field has the attribute name


Assignment

In the XHTML file, each input field has the attribute "name". This attribute value is how data will be collected for processing. For example:

When creating your PHP file, you will reference each piece of data through the $_POST array, where the value of the index is equal to the name attribute. For example:

$variable = $_POST['placeholder'];

Your calculations will be focused on two user-defined functions you must create. The functions should only be used after the first submission point. 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 in the syllabus. 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.

Solution Preview :

Prepared by a verified Expert
: In the xhtml file each input field has the attribute name
Reference No:- TGS02153007

Now Priced at $40 (50% Discount)

Recommended (95%)

Rated (4.7/5)