diff --git a/switch.cpp b/switch.cpp new file mode 100644 index 0000000..cad5793 --- /dev/null +++ b/switch.cpp @@ -0,0 +1,11 @@ +int day = 4; +switch (day) { + case 6: + cout << "Today is Saturday"; + break; + case 7: + cout << "Today is Sunday"; + break; + default: + cout << "Looking forward to the Weekend"; +}