Give your best fizzbuzz

give your best fizzbuzz

using System;

public class Program
{

public static void Main()
{
int i = 0;
int fizzbuzz = 100;
while(true){
if(i

Attached: download (1).jpg (234x215, 9K)

Other urls found in this thread:

pastebin.com/7zn4mVtB
github.com/Kikebook/fbos
twitter.com/NSFWRedditImage

for(int i = 1; i

3=fiss
5=buss
If divide by 3 or 5=fissbuss

Recursive Template Fizzbuzz lmao
auto fizzbuzz(uint N)() {
string accumulate;
return fizzbuzz!N(accumulate);
}

auto fizzbuzz(uint N)(ref string result) if (N % 3 && N % 5) {
import std.conv : to;

result ~= N.to!string ~ "\n";
return fizzbuzz!(N - 1)(result);
}

auto fizzbuzz(uint N)(ref string result) if (!(N % 15)) {
result ~= "FizzBuzz\n";
return fizzbuzz!(N - 1)(result);
}

auto fizzbuzz(uint N)(ref string result) if (!(N % 3) && N % 5) {
result ~= "Fizz\n";
return fizzbuzz!(N - 1)(result);
}

auto fizzbuzz(uint N)(ref string result) if (!(N % 5) && N % 3) {
result ~= "Buzz\n";
return fizzbuzz!(N - 1)(result);
}

auto fizzbuzz(uint N : 0)(ref string result) {
return result;
}

void main() {
import std.stdio : writeln;

fizzbuzz!50().writeln();
}

#include
#define BUZZZ int
#define FIZZZ printf
#define FIZZ for
#define BUZZ if
#define BZZ "\n"
#define FUZZ return
#define FIZZBUZZZ main
#define FIZZZBUZZ "%d"
#define FIZZBUZZ else
#define BUZZFIZZ 3
#define FIZZFIZZ 5
#define BUZZBUZZ 100

BUZZZ FIZZBUZZZ(){BUZZZ fizzbuzz;FIZZ(fizzbuzz=BUZZFIZZ/BUZZFIZZ;fizzbuzz

#include
using namespace std;

int main()
{
for (int i = 0; i

Jabaskibd :-DDd
let i = 0
while (i !== 101) {
let line = ''
if (!(i % 3))
line += 'fizz'
if (!(i % 5))
line += 'buzz'
if (!line.length)
line = i
console.log(line)
i++
}

pub fn main() {
let n = 100;
for i in 1..n+1 {
match (i % 3 == 0, i % 5 == 0) {
(true, true) => { println!("FizzBuzz"); },
(true, false) => { println!("Fizz"); },
(false, true) => { println!("Buzz"); },
(false, false) => { println!("{}", i) },
}
}
}

snek code
buffer = ""

for i in range(1,101):
if i%3 == 0:
buffer += "fizz"
if i%5 == 0:
buffer += "buzz"
if i%3 > 0 and i%5 > 0:
buffer += str(i)
print(buffer)
buffer = ""

#include

class printer {
public:
virtual void print (std::ostream &) const = 0;
};

static std::ostream &operator