Skip to content

Riyadh-FEWD/lesson-week-5-day-1

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

Pseudo Code Intro

images/js-6 images/js-7 images/js-8 images/js-9 images/js-10 images/js-10a

Javascript Intro

images/js-3 images/js-4

images/js-11 images/js-11a images/js-11b images/js-11c images/js-11d images/js-12 images/js-13 images/js-14 images/js-15 images/js-16 images/js-17 images/js-18 images/js-19 images/js-19a images/js-20 images/js-21 images/js-22 images/js-23 images/js-24 images/js-25 images/js-26 images/js-27 images/js-27a

images/js-28 images/js-28a images/js-28b images/js-28c images/js-28d images/js-28e images/js-28f images/js-29

Fizzbuzz

  • Write a program that declares a variable equal to a number 0 - 100

  • If it is a multiple of 3, print “Fizz” instead of the number.

  • If it is a multiple of 5, print “Buzz” instead of the number.

  • If it is a multiple of both 3 and 5, print “FizzBuzz” instead of the number.

  • Otherwise, print the number

Fizzbuzz

  • Write a if statements that print the if the number is Fizz or Buzz or both

  • If it is a multiple of 3, return “Fizz” instead of the number.

  • If it is a multiple of 5, return “Buzz” instead of the number.

  • If it is a multiple of both 3 and 5, return “FizzBuzz” instead of the number.

  • Otherwise, return the number

Additional Resources

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published