#include<iostream>
using namespace std;
int main()
{
int number;
cout<<"Please, enter a number to find out your color:";
cin>>number;
if(number>=0&&number<=4)
{
cout<<"BLUE";
}
else if(number>=5&&number<=10)
{
cout<<"RED";
}
else if(number>=11&&number<=14)
{
cout<<"GREEN";
}
else
{
cout<<"It is not a correct color option";
}
}
Comments
Leave a comment