Skip to content
Sign UpLog In

StudioMate

AndresBernardi
AndresBernardi
Made with
PHP CLI
PHP CLI
Published on Nov 21, 2022
  • #challenge

Prints a list of numbers from 1 to 1000.

  • For each number that is a multiple of 3 replace the number with the string "Studio",
  • for each number that is a multiple of 5 replace the number with the string "Mate".
  • If you have a number that is both a multiple of 3 and 5 replace the number with the string "Studio Mate".
Loading comments...