TUTORIAL_2 PHP (1)
TUTORIAL_2 PHP (1)
1. Create a PHP for a program that will compute and display the sum of the first 100
natural numbers: 1 + 2 + 3 + 4.......... + 100.
2. Develop a PHP for a computer program that will display all odd numbers from 77
down to 5 inclusive.
3. Create a PHP for a program that will compute and display the sum of the first 40
even numbers.
4. Create a PHP for the problem of printing even numbers between 9 and 27.
5. You are a teacher at a prestigious school, and it’s time to evaluate your
You are building a simple application program that allows users to convert
temperatures between Fahrenheit and Celsius. Users can input a temperature value,
select the desired conversion (Fahrenheit to Celsius or vice versa), and get the
converted result.
Create a simple HTML form and display the results through PHP echo statement.
CHALLENGE QUESTION N0:2 (GROUP- 2 MARKS)
Create a simple HTML form and accept the username and display the name
through PHP echo statement.