[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y ] [Search | Free Show | Home]

>There are people on /g/ right now who can't Fizz Buzz

This is a blue board which means that it's for everybody (Safe For Work content only). If you see any adult content, please report it.

Thread replies: 24
Thread images: 5

File: bjarne2.jpg (25KB, 293x324px) Image search: [Google]
bjarne2.jpg
25KB, 293x324px
>There are people on /g/ right now who can't Fizz Buzz
>>
>>61157041
FizzBuzz();
>>
System.out.println ("fizz buzz");
>>
File: 4chan_user.jpg (118KB, 800x800px) Image search: [Google]
4chan_user.jpg
118KB, 800x800px
<html>Fizz<br>Buzz<br></html>
>>
>[-]>[-]++++[<++++++++++++++++>-]<++++++>[-]>[-]++++++[<++++++++++++++++>-]<+++++++++>[-]>[-]+++++++[<++++++++++++++++>-]<++++++++++>[-]>[-]+++++++[<++++++++++++++++>-]<++++++++++>[-]>[-]++[<++++++++++++++++>-]<>[-]>[-]++++[<++++++++++++++++>-]<++>[-]>[-]+++++++[<++++++++++++++++>-]<+++++>[-]>[-]+++++++[<++++++++++++++++>-]<++++++++++>[-]>[-]+++++++[<++++++++++++++++>-]<++++++++++>++++++++++[<]>[.>]
>>
File: file.png (3KB, 285x32px) Image search: [Google]
file.png
3KB, 285x32px
Wanted to post pic related, but 4chan refuses it for some reason
>>
>>61157333

can't put script tags in code tags is my guess
>>
echo "fizz buzz";
>>
I'm sure I could if someone reminded me what fizz buzz means
>>
$ mail -s "I need a Fizz Buzz program by lunchtime" [email protected]
hf
EOT
>>
#include <iostream>

template <class T>
void fizzbuzzprinter (std::ostream &os, T n) {
(void) n;
os << "fizzbuzz";
}

template <class T>
void buzzprinter (std::ostream &os, T n) {
(void) n;
os << "buzz";
}

template <class T>
void fizzprinter (std::ostream &os, T n) {
(void) n;
os << "fizz";
}

template <class T>
void printer (std::ostream &os, T n) {
os << n;
}

template <class T>
void (*getprinter (T n)) (std::ostream &, T) {
if (n % 15 == 0) {
return fizzbuzzprinter;
} else if (n % 5 == 0) {
return buzzprinter;
} else if (n % 3 == 0) {
return fizzprinter;
} else {
return printer;
}
}

template <class T>
void fizzbuzz (std::ostream &os) {
for (T n (1); n <= 100; n++) {
getprinter (n) (os, n);
os << std::endl;
}
}

int main () {
fizzbuzz<int> (std::cout);
return 0;
}
>>
>>61158085
>there are people on /g/ right now who don't even know what fizzbuzz is
>>
#!/bin/sh

set -e

rm -f fizzbuzz.c
(
echo "#include <stdio.h>"
echo
echo "int main (void) {"
echo " int i;"
echo " for (i = 1; i <= 100; i++) {"
echo " if (i % 15 == 0) {"
echo " printf (\"fizzbuzz\n\");"
echo " } else if (i % 5 == 0) {"
echo " printf (\"buzz\n\");"
echo " } else if (i % 3 == 0) {"
echo " printf (\"fizz\n\");"
echo " } else {"
echo " printf (\"%d\n\", i);"
echo " }"
echo " }"
echo " return 0;"
echo "}"
) >fizzbuzz.c
chmod -w fizzbuzz.c

gcc\
-std=c89\
-Wall -Wextra -pedantic\
-Werror -Wfatal-errors\
-Ofast\
-o fizzbuzz fizzbuzz.c

./fizzbuzz
>>
>>61157041
>there are people
>are
>>
>>61160579

what is wrong with this
>>
>>61160805
Name one(1) people, I'll wait.
>>
import fizzbuzz;
>>
I can't even hello world. I'm here because it's time for you nerds to accept this is /v/'s tech support.
>>
File: received_457519664601537.jpg (24KB, 769x767px) Image search: [Google]
received_457519664601537.jpg
24KB, 769x767px
>>61160843
>>
>>61157187
source on the grill
>>
Please do the needful.
>>
File: buzzed by the fizz.png (2MB, 1600x6283px) Image search: [Google]
buzzed by the fizz.png
2MB, 1600x6283px
>>61157041

Its a problematic test anyway
>>
>>61160979
Please off yourself
>>
>>61162420
She should seriously kill herself now, that is a new level of retardation
Thread posts: 24
Thread images: 5


[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y] [Search | Top | Home]

I'm aware that Imgur.com will stop allowing adult images since 15th of May. I'm taking actions to backup as much data as possible.
Read more on this topic here - https://archived.moe/talk/thread/1694/


If you need a post removed click on it's [Report] button and follow the instruction.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com.
If you like this website please support us by donating with Bitcoins at 16mKtbZiwW52BLkibtCr8jUg2KVUMTxVQ5
All trademarks and copyrights on this page are owned by their respective parties.
Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
This is a 4chan archive - all of the content originated from that site.
This means that RandomArchive shows their content, archived.
If you need information for a Poster - contact them.