1. 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...


C++ OOP classes


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

Extracted text: 1. 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.

Jun 03, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here