14.8k views
4 votes
Clunker Motors Inc. is recalling all vehicles in its Extravagant line from model years 1999-2002. Given an int variable modelYear and a string modelName write a statement that prints the message "RECALL" to standard output if the values of modelYear and modelName match the recall details.

1 Answer

2 votes

Answer:

The answer is:

Step-by-step explanation:

if (modelYear <=1999 && modelYear >= 2002)

{cout << "RECALL" ;

}

User Sheldonzy
by
4.9k points