Question: Write a C program that does the following: 1. (2 points) Declare a structure called Car with the following members: Price (float). Year (int). Color
Write a C program that does the following: 1. (2 points) Declare a structure called Car with the following members: Price (float). Year (int). Color (String) and Brand (String) 2. (3 points) Ask the user to enter the information of 10 cars and save them in an array called CARS. 3. (3 points) Print the color of the car(s) that has (have) a price greater than 15000 4. (5 points) Write a function called oldestcar that takes the array CARS as an argument and returns the oldest car among all cars 5. (2 points) In the main, call the function oldestcar and print all information of the oldest car.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
