Question: Q1 Q2 Q3 Write a C program that does the following: 1. (2 points) Declare a structure called Car with the following members: Price (float).

 Q1 Q2 Q3 Write a C program that does the following:

Q1

1. (2 points) Declare a structure called Car with the following members:

Q2

Price (float). Year (int), Color (String) and Brand (String) 2. (3 points)

Q3

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 red ion Write a C program that includes the following: 1. (3 points) A function that reads an integer array from the keyboard with the following prototype: void ReadArray (int *a , int size); 2. (5 points) A function that multiplies the largest number that is multiple of 3 in array a by value c with the following protot Vid MultipleOf 3 ByConst (int *a , int size, int e); 3. (4 points) The main function that: -Declares integer named c as well as an integer array named Arrayl that contains 35 elements. -Reads c from the keyboard -Calls ReadArray to read Array). -Calls MultipleOf_3_ByConst to multiply the largest number that is multiple of 3 in Arrayl by c. -Prints Arrayl. U s X X Bo B 11! 7 9 BT Write a program that does the following 1. (2 points) Declare a structure called Book with the following members: Name(string), Color(string), Pagesfint) and Price(double) 2. (3 points) Ask the user to enter the information of 12 books and save them in an array called Books 3. (3 points) Print the color of the book(s) that has have Pages greater than 150 page 4.6 points) Write a function called SortBooks that takes the array Books as an argument and sort it according to the Price in ascending order 5. (2 points) In the main call the function SortBooks and print the information of all Books after sorting

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!