Skip to content

Applications Development & Emerging Technologies - PHP Lab Activity #4

Notifications You must be signed in to change notification settings

JulianaMancera/AppDev_Lab-4_PHP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

AppDev_Lab-4_PHP

Write a program that prints the numbers from 1 to 100. But for number is divisible of three print is divisible to 3 instead of the number and for the number is divisible of five print is divisible to 5. For numbers which are divisible of both three and five print is divisible to 3 and 5. Remember, you can use the modulus operator to check if a number is divisible by another number.
output should like this below

1
2
3 is divisible to 3
4
5 is divisible to 5
6 is divisible to 3
... up to 100

About

Applications Development & Emerging Technologies - PHP Lab Activity #4

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages