Solución reto #1 en C++
raidelypaulino opened this issue · 1 comments
raidelypaulino commented
#include
using namespace std;
int main()
{
for(int i = 1; i <= 100; i++)
{
cout << i << endl;
if(i % 3 == 0)
cout << "Fizz" << endl;
if(i % 5 == 0)
cout << "buzz" << endl;
if(i % 3 == 0 && i % 5 == 0)
cout << "Fizzbuzz" << endl;
}
return 0;
}
raidelypaulino commented
Así lo solucione en C++