Write multiple if statements. If car_year is 1969 or earlier, print "Few safety features." If 1970 or later, print "Probably has seat belts." If 1990 or later, print "Probably has antilock brakes." If 2000 or later, print "Probably has airbags." End each phrase with a period and a newline

Respuesta :

Answer:

This program is executed in Dev C++ using C++ as a programming language.

Explanation:

#include<iostream>

using namespace std;

int main()

{

int carModelNo;

cout<<"Enter Car Model Number  ";

cin>>carModelNo;

 

EnterAgain:

 if(carModelNo==1969)

{

 cout<<"Few safety features.";

}

else if(carModelNo==1979)

{

 cout<<"Probably has seat belts.";

}

else if(carModelNo==1999)

{

 cout<<"Probably has antilock brakes.";

}

else if(carModelNo==2000)

{

 cout<<"Probably has airbags.";

}

else

{

 "Car Model Information Currently not Available";

 cout<<"Please enter the car model such as 1969, 1979, 1999, or 2000  ";

 cin>>carModelNo;

 goto EnterAgain;

}

return 0;

}