You are viewing a single comment's thread. Return to all comments →
c++/cpp: bad question, bad editor, especially for c++, how's this for short and ugly:
#include \<\iostream> using std::cout;int main(){for(int i=0;i++<100;){if(i%3 == 0)cout<<"Fizz";if(i%5 == 0)cout<<"Buzz";else if(i%3!=0)cout<
Seems like cookies are disabled on this browser, please enable them to open this website
FizzBuzz
You are viewing a single comment's thread. Return to all comments →
c++/cpp: bad question, bad editor, especially for c++, how's this for short and ugly: