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
Get step-by-step solutions from verified subject matter experts
