[ Web Proxy ]
URL:
Viewing: https://raw.githubusercontent.com/sharpninja/FizzBuzz/master/src/Java/FizzBuzz.java [Back]  [Original]

/*
* FizzBuzz Implementation in Java
* The Sharp Ninja - October 21, 2019
*
* "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"."
*/
package ninja.thesharp;

public class FizzBuzz {
    public static void main(String[] args)
    {
        for (int i = 1; i 

Web Proxy Viewer  |  New URL  |  Original Page