I hereby claim:
- I am nerocrux on github.
- I am nerocrux (https://keybase.io/nerocrux) on keybase.
- I have a public key whose fingerprint is 03BA 4B7D D04B CD0E 1248 CBB1 B485 B0A4 4809 07CB
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
# Your init script | |
# | |
# Atom will evaluate this file each time a new window is opened. It is run | |
# after packages are loaded/activated and after the previous editor state | |
# has been restored. | |
# | |
# An example hack to make opened Markdown files always be soft wrapped: | |
# | |
# path = require 'path' | |
# |
def fizzbuzz(fizz,buzz,fizzbuzz,counter) | |
if fizzbuzz == 15 | |
print("fizzbuzz ") | |
fizzbuzz = 0 | |
fizz = 0 | |
buzz = 0 | |
elsif fizz == 3 | |
print("fizz ") | |
fizz = 0 | |
elsif buzz == 5 |
#include <stdio.h> | |
void fizzbuzz(int num_fizz, int num_buzz, int num_fizzbuzz, int counter) | |
{ | |
if(num_fizzbuzz == 15) {printf("fizzbuzz "); num_fizz=0; num_buzz=0; num_fizzbuzz=0;} | |
else if(num_fizz == 3) {printf("fizz "); num_fizz=0;} | |
else if(num_buzz == 5) {printf("buzz "); num_buzz=0;} | |
else printf("%d ", counter); | |
if (counter < 100) fizzbuzz(++num_fizz, ++num_buzz, ++num_fizzbuzz, ++counter); |