Write multiple if statements: If carYear is before 1968, print\"Probably has few safety features.\" (without quotes). If after1971, print \"Probably has head rests.\". If after 1991, print\"Probably has anti-lock brakes.\". If after 2002, print \"Probablyhas airbags.\". End each phrase with period and newline. Ex: carYear= 1995 prints:
Probably has head rests.Probably has anti-lock brakes.
I want the answers in C++ not in java script data type