THAPA TECHNICAL

HOUSE OF WEB DEVELOPERS AND TECHNOLOGY.

PHP CHALLENGE BY THAPA TECHNICAL:

PHP CHALLENGE BY THAPA TECHNICAL


Q1:  Your challenge is to list all of the multiples of 12 which are less than or equal to 240.  You must complete this task twice, once using a While loop and once using a Do WHILE loop.   
The multiples of 12 are 12,24,36,48,60,72,84,96,108,120,132,144,156,168,180,192,204,216,228 and 240.

Your answer format should be 12 * 1 = 12,  12 * 2 = 24, 12 * 3 = 36 etc till 12 * 20 = 240.

ALL THE BEST. POST YOUR ANSWERS BELOW IN COMMENT BOX.

If you want some reference for it on how to do it. Feel free to watch my videos first on While loop, Do While Loop and For loop. Then I am 110% sure you can do it on your own. Here are the videos. You can directly watch it here only.