write a program that prints the numbers from 1 to 100
Write a program that prints the numbers from 1 to 100.
But for multiples of three print the word “Alpha” instead of the number
and for the multiples of five print “Beta”.
For numbers which are multiples of both three and five print “AlphaBeta”.
Name your file “alphabeta.php“. Put you name in a comment line near the beginning of the script.
When ready to test you PHP script, FTP it (via the SFTP protocol) to a folder named “samples” in your webpage file space on the nb9507 server. Then, use a browser to run the script. [To FTP, you have to have access to the server. If you are off-campus, this means setting up the University’s VPN.)