Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Even Odd
//Microsoft (R) C/C++ Optimizing Compiler Version 19.00.23506 for x86 #include <iostream> using namespace std; int main() { for(int i=0; i<=100;i++){ if (i%2==0) cout<< "Even = "<< i << endl; else cout<< "Odd = "<< i << endl; } cout << " Hello, world!\n"; return 0; }
run
|
edit
|
history
|
help
0
Wrong type deduction of std::valarray expression
narrow_cast
Program of cube
Error with move capture of a const ref in a lambda function
C++ Macro overload
Not an overflow
dump_own_process.cpp
Copy vs Reference
Regex pipe and tabs c++
Operators overloading