Question: Write a while loop in your PHP code to output the numbers 10 to 30. Then try to change the loop to output numbers 20

Write a while loop in your PHP code to output the numbers 10 to 30. Then try to change the loop to output numbers 20 to 1, in reverse order

(Hint: Try starting the $number higher, and decreasing each loop.)

 

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 Accounting Questions!