switch in C++
``` #include <iostream> using namespace std; int main() { int day = 4; switch (day) { default: cout<<"workday"; break; case 6: case 7: cout << "Weekend"; break; } } ```
``` #include <iostream> using namespace std; int main() { int day = 4; switch (day) { default: cout<<"workday"; break; case 6: case 7: cout << "Weekend"; break; } } ```