- 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.
-
Notifications
You must be signed in to change notification settings - Fork 11
JavaScriptADI/javascript191-assignment-4-assignment-whle-loops
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
javascript191-assignment-4-assignment-whle-loops created by GitHub Classroom
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published