From 342d9cd5dc8481e799a10beca50538c8af0e11dc Mon Sep 17 00:00:00 2001 From: Prajjwal Yadav Date: Fri, 18 Oct 2019 19:29:24 +0530 Subject: [PATCH] Create switch_case.cpp --- If else Structure/switch_case.cpp | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 If else Structure/switch_case.cpp diff --git a/If else Structure/switch_case.cpp b/If else Structure/switch_case.cpp new file mode 100644 index 0000000..9bc8ea8 --- /dev/null +++ b/If else Structure/switch_case.cpp @@ -0,0 +1,23 @@ +#include +using namespace std; + +int main(){ + int ratings=6; + + switch(ratings){ + case 1: cout<<"very poor"<