Someone
public text v1 · immutable#include <iostream>
using namespace std;
int main()
{
int theAge;
cout << "Age? " << theAge << endl;
cin >> theAge;
if(theAge>18)
{
cout << "You can smoke!";
}
if(theAge=18)
{
cout << "Happy 18!";
}
if(theAge<18)
{
cout << "Not quite!";
}
}