Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
on_off
//g++ 5.4.0 #include <iostream> using namespace std; int main() { for (int i=1; i<=100; i++) { if (i%3==0 && i%5==0) { cout<<"OnOff"<<endl; } else if (i%5==0) { cout<<"Off"<<endl; } else if (i%3==0) { cout<<"On"<<endl; } else { cout << i <<endl; } } }
run
|
edit
|
history
|
help
0
ProPriceTemp
suffle array
Dar
Pollard Rho Brent Integer Factorization - 11476 - Factorizing Larget Integers
Rrrrrrrr
Day3
Camel case
lab17feb22x4B.cpp
Graph DFS
scope new delete