Skip to content
This repository was archived by the owner on Jan 18, 2021. It is now read-only.

Commit

Permalink
Merge pull request #508 from Azgeb/master
Browse files Browse the repository at this point in the history
HolyC
  • Loading branch information
NullDev authored Oct 4, 2020
2 parents e2b738e + 86fc646 commit 6c6dc15
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions HolyC/FizzBuzz.HC
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
// This is the only FizzBuzz solution God accepts
// Author: @Azgeb

U0 Main(){
I8 *fizz = "Fizz";
I8 *buzz = "Buzz";
I64 iterations = 100;
for(i = 1; i <= iterations; i++){
I8 fizzOrBuzz = 0;
if(i % 3 == 0){
Print(fizz);
fizzOrBuzz = 1;
}
if(i % 5 == 0){
Print(buzz);
fizzOrBuzz = 1;
}
if(fizzOrBuzz == 0){
"d%", i;
}
"\n";
}

"\n";
"\n";
"\n";
"________________";
"| Made by Azgeb|";
"________________";
"/n";
}

Main();

0 comments on commit 6c6dc15

Please sign in to comment.