Question: Exercise 2-2 In this project, you will write a while statement that displays all odd numbers between 1 and 100 on the screen. 1. Create

 Exercise 2-2 In this project, you will write a while statement

Exercise 2-2 In this project, you will write a while statement that displays all odd numbers between 1 and 100 on the screen. 1. Create a new document in your text editor. 2. Type the declaration, element, document head, and element. Use the strict DTD and "Odd Numbers" as the content of the

element. 3. Create a script section in the document body with a while statement that displays all odd numbers between 1 and 100 on the screen. 4. Save the document as OddNumbers.php in the Projects directory for Chapter 2, and then upload the document to the server. 5. Open the OddNumbers.php file in your web browser by entering the following URL: http://<yourserver>/PHP_ Projects/Chapter.02/Projects/OddNumbers.php. 6. Close your web browser window</yourserver>

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!