switch statement in c++ 2022-10-02 // switch statement in c++ int x; // variable cin >>x; // input switch (x) // switch(expression) { case 1: cout<<"this is the case one "< Twitter WhatsApp Telegram Facebook