Skip to content

JavaScriptADI/javascript191-assignment-4-assignment-whle-loops

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 

Repository files navigation

Assignment loops

  • write a program that prints the numbers from 1 to 100. But for multiples of three print "Fizz" instead of the number and for the multiples of five print "Buzz". For numbers which are multiples of both three and five print "FizzBuzz".
  • write a program that prints 100 random numbers (each random number should be in the range 1-100).
  • write a program that prints the sum of all even numbers between 1 and 1000.
  • write a program that prints the sum of all numbers between 1 and 1000 that are divisible by 3 or 5.
  • write a program that prints the sum of all numbers between 1 and 1000 that are divisible by both 3 and 5.

About

javascript191-assignment-4-assignment-whle-loops created by GitHub Classroom

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published