Computer Science, asked by 19001601507, 6 months ago

01:06:22
English V
shivanisharma861998...
+ 2.0
Question 11
Max. score 20.00
FizzBuzz
- 20
Write a program that prints the numbers in the given range. But for multiples of three print "Fizz" instead of the number a
for the multiples of five print"Buzz". For numbers which are multiples of both three and five print "FizzBuzz”. Print a new IF
after each string or number.
+ 2.0
Input Format First line will be the number of testcases, T. Next line will have T integers, denoted by N
Output Format For each testcase, print the number from 1 to N. But follow the rules given in the problem statement
- 2.0
Constraints
1 <= T = 10
N is an integer
Please read the below instructions carefully
+ 20.0
1 You can choose any language from the given list to write your solution
2. All input to the programming solution is to STDIN and output is to STDOUT.
3. You don't have to manually give the input to your program. just take the input from STDIN and the code evaluation
engine will provide the input to your program.
if you are coding in C and the first input is an integer then simply do scanf('%d', &i) assuming you
- 10.0​

Answers

Answered by reem2009
0

Answer:

don't u think it's too big

Similar questions