You are viewing a single comment's thread. Return to all comments →
for (int i=1;i<=100;i++){ if (i%3==0)cout<<"Fizz"; if (i%5==0)cout<<"Buzz"; else if (i%3!=0) cout<<i; cout<<"\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 →