if (carYear < 1968)
cout << "Probably has few safety features." << endl;
if (carYear > 1971)
cout << "Probably has head rests." << endl;
if (carYear > 1990)
cout << "Probably has anti-lock brakes." << endl;
if (carYear > 2002)
cout << "Probably has tire-pressure monitor." << endl;
Comments
Leave a comment