subject
Computers and Technology, 26.06.2020 22:01 5041

Design a calculator that will allow you to easily calculate your grade. The XHTML page with the form data has been provided for your use in this lab assignment. Three inputs are required for each category: Points Earned, Maximum Points Possible, and Weight as a percentage out of 100. These values will be passed to the .php file that you need to create and name finalgrade. php. In the XHTML file, each input field has the attribute "name". This attribute value is how data will be collected for processing.
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.
Your calculations will be focused on two user-defined functions you must create. 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.

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 00:30
Advantages and disadvantages of binary system
Answers: 1
question
Computers and Technology, 23.06.2019 06:30
To become an audio technician, the most successful tactics might include the following. (select all that apply). learning how to persuade other people gaining different types of experience in audio technology learning as much as possible about art history establishing a reputation as a reliable professional
Answers: 1
question
Computers and Technology, 24.06.2019 05:30
Cรณmo pongo un tomo de llamada sin pagar?
Answers: 1
question
Computers and Technology, 24.06.2019 17:00
Aman travel 200m towards east< br /> from his house then takes left< br /> to turn and moves 200 m north< br /> find the displacement & distance.< br />
Answers: 3
You know the right answer?
Design a calculator that will allow you to easily calculate your grade. The XHTML page with the form...
Questions
question
Mathematics, 08.01.2020 00:31
Questions on the website: 13722363