Question

Clunker Motors Inc. is recalling all vehicles in its Extravagant line from model years 1999-2002 as...

Clunker Motors Inc. is recalling all vehicles in its Extravagant line from model years 1999-2002 as well all vehicles in its Guzzler line from model years 2004-2007. Given an int variable modelYear and an array of chars representing 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.

Please answer in C code

0 0
Add a comment Improve this question Transcribed image text
Answer #1

int modelYear;
char modelName[100];
if(modelYear>-1999 && modelYear<=2002)
{
printf("RECALL");
}

Add a comment
Know the answer?
Add Answer to:
Clunker Motors Inc. is recalling all vehicles in its Extravagant line from model years 1999-2002 as...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • Problem: The average annual water level of Lake Michigan since 1860 has been provided in the...

    Problem: The average annual water level of Lake Michigan since 1860 has been provided in the file “LMWL.txt”. The file is formatted so that the first column is the year and the second column is the average water level in feet above sea level for that year. Write a program to obtain the following information: What year had the lowest average water level, and what was the level (in feet)? What has the average water level of Lake Michigan been,...

  • Code is in C# Your instructor would like to thank to Marty Stepp and Hélène Martin...

    Code is in C# Your instructor would like to thank to Marty Stepp and Hélène Martin at the University of Washington, Seattle, who originally wrote this assignment (for their CSE 142, in Java) This program focuses on classes and objects. Turn in two files named Birthday.cs and Date.cs. You will also need the support file Date.dll; it is contained in the starter project for this assignment. The assignment has two parts: a client program that uses Date objects, and a...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT