C++ Struct Array
In c++:
- Create a
structcalledBook - A Book is made up of a title, author, cost, and publication year as described above
- Create an array of type
Bookthat can store 5 books
This organizational scheme is thus called an Array of Structures - Have the user enter in all the information for each book
- Ask the user which number book they want the information for
- Print the corresponding book's information to the screen
6 years ago
8
Answer(0)