Skip to content

chris-reed/PHPExercises

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

PHP - Exercises

Exercise 1.

Based on the wording of the exercise, I went with the assumption that the number inputted will not appear in the array. Otherwise I would have checked to see how many occurrences of the inputted integer were in the array, and altered the total accordingly.

Exercise 2.

I feel like there is a better way to do this, but this was the quickest that came to mind. It ain't pretty, but it works.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages