Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
else if
//gcc 5.4.0 #include <stdio.h> int main(void) { //printf("Hello, world!\n"); //int x; //int y; //x= 50; //(x > 50) ? (y=50) : (y=x); // printf("y= %d\n", y); //int x= 6; //(x==0 || x==1) ? printf("Binary\n") : printf("No Binary\n"); int myVal; printf("0: Main Menu\n"); printf("0: Open File\n"); printf("0: Print File\n"); printf("0: Quit\n"); printf("\n\Choose any option: \n"); scanf("%d\n", &myVal); switch (myVal) { case 0: printf("Main Menu\n"); break; case 1: printf("Open File\n"); break; case 2: printf("Print File\n"); break; case 3: printf("Quit\n"); break; default: printf("No Option\n"); break; } if (myVal==0) printf("Main Menu\n"); else if (myVal==1) printf("Open File\n"); else if (myVal==2) printf("Print File\n"); else if (myVal==3) printf("Quit\n"); else if (myVal>=3); printf("No Option\n"); return 0; }
run
|
edit
|
history
|
help
0
Ordered Openmp
main.c
funciones serie de taylor
linear hybrid cellular automaton reversible random bit generator stream cipher
Timestamp microsecond for C
A_141124_arrayMaxMin01
150115_MatrizTodosDistintos
PRIMER AVANCE DE NETFLIX
C_141113_VariosPerfectos
Rudra