Question: Create a PHP Project called SimpleCalculators and implement each of the following as a form on a different page. Have an index page that links

Create a PHP Project called SimpleCalculators and implement each of the following as a form on a different page.

Have an index page that links to each calculator. Below are the required formulas:

1. form_bmi.php - To calculate Body Mass Index, use: bmi = (weight in pounds * 703) / (height in inches * height in inches).

2. form_gross_pay.php - To calculate gross pay, use: pay = hours * rate

3. form_perimeter.php - To calculate perimeter, use: perimeter = (2 * length) + (2 * width)

4. form_average.php - Given 5 test scores, calculate and display the average for the course.

5. form_tip_calculator.php - If the amount of a restaurant bill is entered in a textbox, calculate and display the amount of the tip (20% of the bill amount) and the final total including the tip. For example, if the bill is $50.00, the tip would be $10.00 and the final total including the tip would be $60.00.

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!