Question: 1. Write a PHP program that calculates the sum, average and product of three numbers submitted by the user. The program should display the results

 1. Write a PHP program that calculates the sum, average and
product of three numbers submitted by the user. The program should display

1. Write a PHP program that calculates the sum, average and product of three numbers submitted by the user. The program should display the results in a tabular format as follows: 2. Write a PHP program for a temperature converter. The user is asked to enter the temperature in Celsius. Then, the program converts and prints it in Fahrenheit using the following formula: Fahrenheit =(59 Celsius )+32 3. Write a PHP program that prints the diameter, area and circumference of a circle whose radius is entered by the user. Use the constant value 3.14 for pi (). 4. Write a program that asks the user to input a number of apples, then tells him how many dozens of apples he has and how many extra apples are left over. (Test your program using different values such as 24, 35 and 8 apples). Hint: use the type casting to get the integer value of a number. For example, the result of 30/12 is 2.5, but the result of (int) (30/12)=2

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!