Se han
modificado 1 ficheros con
17 adiciones y
0 borrados
-
17
0
main.c
|
@@ -0,0 +1,17 @@
|
|
|
+#include <stdio.h>
|
|
|
+
|
|
|
+int main(void)
|
|
|
+{
|
|
|
+ int x = 2;
|
|
|
+
|
|
|
+ switch(x)
|
|
|
+ {
|
|
|
+ case 1:
|
|
|
+ printf("x = 1 \n");
|
|
|
+ case 2:
|
|
|
+ printf("x = 2 \n");
|
|
|
+ case 3:
|
|
|
+ printf("x = 3 \n");
|
|
|
+ }
|
|
|
+ return 0;
|
|
|
+}
|