You are viewing a single comment's thread. Return to all comments →
C++ solution:
#include <iostream> int i;int main(){for(;i<100;)std::cout<<(!(++i%3|i%5)?"FizzBuzz":i%3?i%5?std::to_string(i):"Buzz":"Fizz")<<"\n";}
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++ solution: