I am making a numbers game.
If you input a number from 1-5 (1, 2, 3, 4 and 5)
It will display a text.
I tried tried doing something like this:
if (numbers == 1 || 2 || 3 || 4 || 5)
{
std::cout << "TEXT";
}
(didnt work)
but is there an better way to put in a range of integers?