Quick actions

cmd+k|ctrl+k

Navigation

Languages

Mind Reader Mind Blowind 😱

Snippet info

Language

Cpp

Visibility

public

Author

baller6969

Created

2023-12-18T20:45:09.611949Z

Updated

2023-12-18T20:45:09.611949Z

#include <iostream>

int main() {
    int choice; 
        std::cout << "want me to read your mind?" << std::endl;
        std::cout << "1. BET" << std::endl;
        std::cout << "2. nah " << std::endl;
        std::cin >> choice;

        switch (choice)
        {
        case 1:
                int number;
                std::cout << "Enter A Number that was in ur mind" << std::endl;
                std::cin >> number;
                std::cout << "I Guessed Your number its: " << number << std::endl;
            break;

            case 2:
            std::cout << "then bye" << std::endl;
            break;
        }
}
INFO