Question: Using C programming: 1) Using the car structure with the following members: Make, Model, Year, Miles; create a structure array with three elements named myCars.
Using C programming:
1) Using the car structure with the following members: Make, Model, Year, Miles; create a structure array with three elements named myCars. Populate each structure in the array with your favorite car model information. Use a for loop to print each structure detail in the array.
2) Create a program that uses a structure array to hold contact information for your friends. The program should allow the user to enter up to five friends and print the phone books current entries. Create functions to add entries in the phone book and to print valid phone book entries. Do not display phone book entries that are invalid or NULL.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
