Input
Output
#include <iostream> using namespace std; int main(){ int a=0; cout << "Enter the value of a:"; cout << a << endl; switch(a){ case 0: cout << "value is zero"; break; case 1: cout << "value is one"; break; case 100: cout << "value is hundred"; break; default: cout << "value is not 10, 50 or 100"; } return 0; }