subject

1. FizzBuzz Given a number n, for each integer i in the range
from 1 to n inclusive, print one value per line as
follows:
• If i is a multiple of both 3 and 5, print FizzBuzz.
• If i is a multiple of 3 (but not 5), print Fizz.
If i is a multiple of 5(but not 3), print Buzz.
If i is not a multiple of 3 or 5, print the value of i.

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 11:00
What are two of the most common reasons that peolpe who need mental health care do not access it?
Answers: 1
question
Computers and Technology, 22.06.2019 15:00
Who is the first president to use social media as part of his campaign strategy
Answers: 1
question
Computers and Technology, 22.06.2019 19:00
Which parts of a presentation should be the most general? a. introduction and conclusion b. introduction and outline c. outline and conclusion d. outline and body
Answers: 1
question
Computers and Technology, 22.06.2019 23:30
In my email i got a message it says a quick message and in message details on who its from its says nicole and under nicole is [email protected] -
Answers: 1
You know the right answer?
1. FizzBuzz Given a number n, for each integer i in the range
from 1 to n inclusive, print o...
Questions
question
Mathematics, 06.07.2021 20:00
question
Mathematics, 06.07.2021 20:00
question
Mathematics, 06.07.2021 20:00
Questions on the website: 13722363