Printing FizzBuzz | Java Program

preview_player
Показать описание
Question : Write a program to print numbers from 1 to 100. If the number is a multiple of 3, print Fizz. If it's a multiple of 5, print Buzz. If it's a multiple of both 3 and 5, print FizzBuzz.

This is a basic level program, written in java code. Though this is simple, I made a huge blunder in between, though it was easily identifiable. I have used a brute force method to solve the problem.

Music Credit : Daydream by Bloome

#java #programming #interview_prep
Рекомендации по теме
welcome to shbcf.ru