From a4d3aa48fd5fe3fc02c72fde6ba13b32460ed6e9 Mon Sep 17 00:00:00 2001 From: Sejzz <91632881+Sejzz@users.noreply.github.com> Date: Wed, 27 Oct 2021 19:48:04 +0530 Subject: [PATCH] Create switch.cpp --- switch.cpp | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 switch.cpp 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"; +}