#include<iostream>
using namespace std;
int main()
{
int age;
cout<<"Tell me your age"<<endl;
cin>>age;
if(age<18)
{
cout<<"You cannot access the website"<<endl;
}
else if(age==18)
{
cout<<"You can get a kids pass for the website"<<endl;
}
else{
cout<<"You can access the website"<<endl;
}
return 0;
}
|