C++ structure Write a list of book defining parameters. (5 at least) o Name (String) – Topic (String) – Pages (int) – IsEnglishLanguage (bool) – Price (float) 2. Declare and initialize the variables of book parameters. 3. Take input from user and output all the parameters given by user
C++ structure Write a list of book defining parameters. (5 at least)
o Name (String) – Topic (String) – Pages (int) – IsEnglishLanguage (bool) – Price
(float)
2. Declare and initialize the variables of book parameters.
3. Take input from user and output all the parameters given by user.
4. Create a function to initialize book parameter taken form user.
5. Initialize and store 2 books’ parameters. Print the book with more pages, total number of
pages.
6. Print the page numbers of each book using loop. (1 – 2 – 3 – 4 .....)
7. Store the 3 books data using array (each parameter separate).
8. Use loop store 10 books data in array, given by user. Print the data after input using
function and loop.
9. Store one book data via pointer
10. Store one book data via Reference
11. Store one book data via pointer. Use function to initialize the data given by user.
12. Store one book data via Reference. Use function to initialize the data given by user.
Step by step
Solved in 3 steps with 2 images