Run Code
|
API
|
Code Wall
|
Users
|
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
Please
log in
to post a comment.
calling convention is part of type(?)
C string literal
problem_solution_1
Preserving strict aliasing Union example
Redeclare with auto
MSVC alias template
Copy initialization: overload resolution issue
Arrays
Test
dharm1
Please log in to post a comment.