StringStream

  • + 0 comments

    My c++ code of Clash of Clans

    INCLUDE using namespace std; int main() { int choice; cout << "Enter a number (1-3): "; cin >> choice;

    switch(choice) {
        case 1: cout << "You chose option 1"; break;
        case 2: cout << "You chose option 2"; break;
        case 3: cout << "You chose option 3"; break;
        default: cout << "Invalid choice"; break;
    }
    return 0;
    

    }