Question: Design and construct a well-written and structured computer program in C that will illustrate: 1. How to store information in a simple data structure, specifically
Design and construct a well-written and structured computer program in C that will illustrate: 1. How to store information in a simple data structure, specifically as an array of structs. 2. How to access specific information stored within the array. 3. How to print or write the data stored in the array into a file. 4. How to insert new data in the array. 5. How to delete data from the array. 6. How to change the data in the array.
Specifically, the data stored in the array will be for the eight major planets in our solar system (please omit Pluto). Include a field for the name of the planet, its distance from the Sun, its orbital period in days, its diameter, and its number of known satellites.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
