case label in c++

#include <iostream>

int main() {
    int choice;

    std::cout << "Enter a number between 1 and 3: ";
    std::cin >> choice;

    switch (choice) {
        case 1:
            std::cout << "You selected option 1." << std::endl;
            break;

        case 2:
            std::cout << "You selected option 2." << std::endl;
            break;

        case 3:
            std::cout << "You selected option 3." << std::endl;
            break;

        default:
            std::cout << "Invalid choice. Please enter a number between 1 and 3." << std::endl;
            break;
    }

    return 0;
}