#include <iostream> #include <stdio.h> int main() { int x = 2; switch (x) { case 1: printf("www.aimtocode.com"); printf("You've selected 1"); break; case 2: printf("www.aimtocode.com"); printf("You've selected 2"); break; case 3: printf("www.aimtocode.com"); printf("You've selected 3"); break; default: printf("www.aimtocode.com"); printf("You've selected other than 1, 2 and 3"); break; } return 0; }