Question: project folder needs to contain 2 files. You'll have a HTML page with a form that submits 3 numbers to a web server. A PHP

project folder needs to contain 2 files. You'll have a HTML page with a form that submits 3 numbers to a web server. A PHP page on that web server will add the numbers, divide by 3, then return the average of the numbers to the user.

The first file is a regular HTML page with a HTML form. The form needs 3 named text-boxes, a submit button, and a reset button. It should look something like this:

project folder needs to contain 2 files. You'll have a HTML page

The exact format is not that important, but you need these form element at a minimum. Also, we will assume the user actually enters numbers in the boxes and do not at this point need to validate the data.

Your second file is a PHP page that will take the 3 numbers, add them together, then send the original 3 numbers and the average of the numbers back to the user along with a little text explaining what is what. The output to your user can be set up any way you want, but there should be a sentence that looks very much like this on the return trip.

for example

The average of 4, 5, and 6 is 5.

Program to Return the Average of 3 numbers Enter 1st number. Enter 2ed number. Enter 3rd number Submit Reset

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!