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

Microsoft Visual C#
7th Edition
ISBN:9781337102100
Author:Joyce, Farrell.
Publisher:Joyce, Farrell.
Chapter8: Advanced Method Concepts
Section: Chapter Questions
Problem 8RQ
icon
Related questions
Question

C++ OOP classes

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.
Transcribed Image 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.
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps with 1 images

Blurred answer
Knowledge Booster
Functions
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Microsoft Visual C#
Microsoft Visual C#
Computer Science
ISBN:
9781337102100
Author:
Joyce, Farrell.
Publisher:
Cengage Learning,
C++ Programming: From Problem Analysis to Program…
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning