Run Code
|
API
|
Code Wall
|
Users
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
3
/****************************************************************************** Online C Compiler. Code, Compile, Run and Debug C program online. Write your code in this editor and press "Run" button to compile and execute it. *******************************************************************************/ #include <stdio.h> int main() { int age=2; switch(age) { case 1: printf("you are 1 year old"); break; case 2: printf("you are 2"); break; case 3: printf("you are 3"); break; default: printf("default message :/"); } return 0; }
run
|
edit
|
history
|
help
0
Please
log in
to post a comment.
Simple StackOverflowException
My C# (2)
convert String To Guid
Login Silencioso
Trent Butler All Dead Example
Overloading Unary operator ~ (to reverse the string)
My wall
Game v 1.0
merge 2 sorted array
-Wall -std=c++14 -O0 -o a.out source_file.cpp
Please log in to post a comment.