SlideShare a Scribd company logo
Algorithms problem
Given a class called Book which has four private members: title (string), author (string), price
(float or double) and noOfCopies (an integer).
Define a constructor function that will assign the values of title, author, price and noOfCopies
values from users chosen parameters, say title1, author1, price1, copies1

More Related Content

More from amolawachat

All of these are common products of subduction zone volcanoes except-.pdf
All of these are common products of subduction zone volcanoes except-.pdfAll of these are common products of subduction zone volcanoes except-.pdf
All of these are common products of subduction zone volcanoes except-.pdf
amolawachat
 
All of the following apply to Quorum sensing EXCEPT (choose the false.pdf
All of the following apply to Quorum sensing EXCEPT (choose the false.pdfAll of the following apply to Quorum sensing EXCEPT (choose the false.pdf
All of the following apply to Quorum sensing EXCEPT (choose the false.pdf
amolawachat
 
All of the following are true regarding exotic streams EXCEPT- They ha.pdf
All of the following are true regarding exotic streams EXCEPT- They ha.pdfAll of the following are true regarding exotic streams EXCEPT- They ha.pdf
All of the following are true regarding exotic streams EXCEPT- They ha.pdf
amolawachat
 
All of the following apply to DNA binding proteins EXCEPT (Choose the.pdf
All of the following apply to DNA binding proteins EXCEPT (Choose the.pdfAll of the following apply to DNA binding proteins EXCEPT (Choose the.pdf
All of the following apply to DNA binding proteins EXCEPT (Choose the.pdf
amolawachat
 
All are ways firms can accelerate in innovation except- Question 8 opt.pdf
All are ways firms can accelerate in innovation except- Question 8 opt.pdfAll are ways firms can accelerate in innovation except- Question 8 opt.pdf
All are ways firms can accelerate in innovation except- Question 8 opt.pdf
amolawachat
 
All are reasons for sampling except A- The sample can save money- B- T.pdf
All are reasons for sampling except A- The sample can save money- B- T.pdfAll are reasons for sampling except A- The sample can save money- B- T.pdf
All are reasons for sampling except A- The sample can save money- B- T.pdf
amolawachat
 
Albinism is a recessive trait- A man and woman both show normal pigmen.pdf
Albinism is a recessive trait- A man and woman both show normal pigmen.pdfAlbinism is a recessive trait- A man and woman both show normal pigmen.pdf
Albinism is a recessive trait- A man and woman both show normal pigmen.pdf
amolawachat
 
Albedo- or reflectivity- is expressed as a percentage- Materials like.pdf
Albedo- or reflectivity- is expressed as a percentage- Materials like.pdfAlbedo- or reflectivity- is expressed as a percentage- Materials like.pdf
Albedo- or reflectivity- is expressed as a percentage- Materials like.pdf
amolawachat
 
After reading all Lesson 8 materials- research an international news s.pdf
After reading all Lesson 8 materials- research an international news s.pdfAfter reading all Lesson 8 materials- research an international news s.pdf
After reading all Lesson 8 materials- research an international news s.pdf
amolawachat
 
After reading Talent- Transformation- and the Triple Bottom Line by A-.pdf
After reading Talent- Transformation- and the Triple Bottom Line by A-.pdfAfter reading Talent- Transformation- and the Triple Bottom Line by A-.pdf
After reading Talent- Transformation- and the Triple Bottom Line by A-.pdf
amolawachat
 
Adjust the following to prepare the statement of cash flows using the.pdf
Adjust the following to prepare the statement of cash flows using the.pdfAdjust the following to prepare the statement of cash flows using the.pdf
Adjust the following to prepare the statement of cash flows using the.pdf
amolawachat
 
After preparing and agreeing to a list of questions for the interview-.pdf
After preparing and agreeing to a list of questions for the interview-.pdfAfter preparing and agreeing to a list of questions for the interview-.pdf
After preparing and agreeing to a list of questions for the interview-.pdf
amolawachat
 
Adigii is a 42-year-old woman who identifies as Anishinaabe from a res.pdf
Adigii is a 42-year-old woman who identifies as Anishinaabe from a res.pdfAdigii is a 42-year-old woman who identifies as Anishinaabe from a res.pdf
Adigii is a 42-year-old woman who identifies as Anishinaabe from a res.pdf
amolawachat
 
Actors- Student- University-Tertiary Institution Preconditions- Studen (1).pdf
Actors- Student- University-Tertiary Institution Preconditions- Studen (1).pdfActors- Student- University-Tertiary Institution Preconditions- Studen (1).pdf
Actors- Student- University-Tertiary Institution Preconditions- Studen (1).pdf
amolawachat
 
Adherens junctions in epithelia often form a continuous adhesion belt.pdf
Adherens junctions in epithelia often form a continuous adhesion belt.pdfAdherens junctions in epithelia often form a continuous adhesion belt.pdf
Adherens junctions in epithelia often form a continuous adhesion belt.pdf
amolawachat
 
Advances in technology have enabled HR to do which of the following- a.pdf
Advances in technology have enabled HR to do which of the following- a.pdfAdvances in technology have enabled HR to do which of the following- a.pdf
Advances in technology have enabled HR to do which of the following- a.pdf
amolawachat
 
After Coco's stroke- she could make sounds but she couldn't speak word.pdf
After Coco's stroke- she could make sounds but she couldn't speak word.pdfAfter Coco's stroke- she could make sounds but she couldn't speak word.pdf
After Coco's stroke- she could make sounds but she couldn't speak word.pdf
amolawachat
 
Adam- age 35 - legally marries Steve- age 25 - on January 1 of the cur.pdf
Adam- age 35 - legally marries Steve- age 25 - on January 1 of the cur.pdfAdam- age 35 - legally marries Steve- age 25 - on January 1 of the cur.pdf
Adam- age 35 - legally marries Steve- age 25 - on January 1 of the cur.pdf
amolawachat
 
After having done the hand calculation and pseudocode for a program th.pdf
After having done the hand calculation and pseudocode for a program th.pdfAfter having done the hand calculation and pseudocode for a program th.pdf
After having done the hand calculation and pseudocode for a program th.pdf
amolawachat
 
Action Potentials do not travel towards the soma of the neuron- but on.pdf
Action Potentials do not travel towards the soma of the neuron- but on.pdfAction Potentials do not travel towards the soma of the neuron- but on.pdf
Action Potentials do not travel towards the soma of the neuron- but on.pdf
amolawachat
 

More from amolawachat (20)

All of these are common products of subduction zone volcanoes except-.pdf
All of these are common products of subduction zone volcanoes except-.pdfAll of these are common products of subduction zone volcanoes except-.pdf
All of these are common products of subduction zone volcanoes except-.pdf
 
All of the following apply to Quorum sensing EXCEPT (choose the false.pdf
All of the following apply to Quorum sensing EXCEPT (choose the false.pdfAll of the following apply to Quorum sensing EXCEPT (choose the false.pdf
All of the following apply to Quorum sensing EXCEPT (choose the false.pdf
 
All of the following are true regarding exotic streams EXCEPT- They ha.pdf
All of the following are true regarding exotic streams EXCEPT- They ha.pdfAll of the following are true regarding exotic streams EXCEPT- They ha.pdf
All of the following are true regarding exotic streams EXCEPT- They ha.pdf
 
All of the following apply to DNA binding proteins EXCEPT (Choose the.pdf
All of the following apply to DNA binding proteins EXCEPT (Choose the.pdfAll of the following apply to DNA binding proteins EXCEPT (Choose the.pdf
All of the following apply to DNA binding proteins EXCEPT (Choose the.pdf
 
All are ways firms can accelerate in innovation except- Question 8 opt.pdf
All are ways firms can accelerate in innovation except- Question 8 opt.pdfAll are ways firms can accelerate in innovation except- Question 8 opt.pdf
All are ways firms can accelerate in innovation except- Question 8 opt.pdf
 
All are reasons for sampling except A- The sample can save money- B- T.pdf
All are reasons for sampling except A- The sample can save money- B- T.pdfAll are reasons for sampling except A- The sample can save money- B- T.pdf
All are reasons for sampling except A- The sample can save money- B- T.pdf
 
Albinism is a recessive trait- A man and woman both show normal pigmen.pdf
Albinism is a recessive trait- A man and woman both show normal pigmen.pdfAlbinism is a recessive trait- A man and woman both show normal pigmen.pdf
Albinism is a recessive trait- A man and woman both show normal pigmen.pdf
 
Albedo- or reflectivity- is expressed as a percentage- Materials like.pdf
Albedo- or reflectivity- is expressed as a percentage- Materials like.pdfAlbedo- or reflectivity- is expressed as a percentage- Materials like.pdf
Albedo- or reflectivity- is expressed as a percentage- Materials like.pdf
 
After reading all Lesson 8 materials- research an international news s.pdf
After reading all Lesson 8 materials- research an international news s.pdfAfter reading all Lesson 8 materials- research an international news s.pdf
After reading all Lesson 8 materials- research an international news s.pdf
 
After reading Talent- Transformation- and the Triple Bottom Line by A-.pdf
After reading Talent- Transformation- and the Triple Bottom Line by A-.pdfAfter reading Talent- Transformation- and the Triple Bottom Line by A-.pdf
After reading Talent- Transformation- and the Triple Bottom Line by A-.pdf
 
Adjust the following to prepare the statement of cash flows using the.pdf
Adjust the following to prepare the statement of cash flows using the.pdfAdjust the following to prepare the statement of cash flows using the.pdf
Adjust the following to prepare the statement of cash flows using the.pdf
 
After preparing and agreeing to a list of questions for the interview-.pdf
After preparing and agreeing to a list of questions for the interview-.pdfAfter preparing and agreeing to a list of questions for the interview-.pdf
After preparing and agreeing to a list of questions for the interview-.pdf
 
Adigii is a 42-year-old woman who identifies as Anishinaabe from a res.pdf
Adigii is a 42-year-old woman who identifies as Anishinaabe from a res.pdfAdigii is a 42-year-old woman who identifies as Anishinaabe from a res.pdf
Adigii is a 42-year-old woman who identifies as Anishinaabe from a res.pdf
 
Actors- Student- University-Tertiary Institution Preconditions- Studen (1).pdf
Actors- Student- University-Tertiary Institution Preconditions- Studen (1).pdfActors- Student- University-Tertiary Institution Preconditions- Studen (1).pdf
Actors- Student- University-Tertiary Institution Preconditions- Studen (1).pdf
 
Adherens junctions in epithelia often form a continuous adhesion belt.pdf
Adherens junctions in epithelia often form a continuous adhesion belt.pdfAdherens junctions in epithelia often form a continuous adhesion belt.pdf
Adherens junctions in epithelia often form a continuous adhesion belt.pdf
 
Advances in technology have enabled HR to do which of the following- a.pdf
Advances in technology have enabled HR to do which of the following- a.pdfAdvances in technology have enabled HR to do which of the following- a.pdf
Advances in technology have enabled HR to do which of the following- a.pdf
 
After Coco's stroke- she could make sounds but she couldn't speak word.pdf
After Coco's stroke- she could make sounds but she couldn't speak word.pdfAfter Coco's stroke- she could make sounds but she couldn't speak word.pdf
After Coco's stroke- she could make sounds but she couldn't speak word.pdf
 
Adam- age 35 - legally marries Steve- age 25 - on January 1 of the cur.pdf
Adam- age 35 - legally marries Steve- age 25 - on January 1 of the cur.pdfAdam- age 35 - legally marries Steve- age 25 - on January 1 of the cur.pdf
Adam- age 35 - legally marries Steve- age 25 - on January 1 of the cur.pdf
 
After having done the hand calculation and pseudocode for a program th.pdf
After having done the hand calculation and pseudocode for a program th.pdfAfter having done the hand calculation and pseudocode for a program th.pdf
After having done the hand calculation and pseudocode for a program th.pdf
 
Action Potentials do not travel towards the soma of the neuron- but on.pdf
Action Potentials do not travel towards the soma of the neuron- but on.pdfAction Potentials do not travel towards the soma of the neuron- but on.pdf
Action Potentials do not travel towards the soma of the neuron- but on.pdf
 

Recently uploaded

Data Structure using C by Dr. K Adisesha .ppsx
Data Structure using C by Dr. K Adisesha .ppsxData Structure using C by Dr. K Adisesha .ppsx
Data Structure using C by Dr. K Adisesha .ppsx
Prof. Dr. K. Adisesha
 
Elevate Your Nonprofit's Online Presence_ A Guide to Effective SEO Strategies...
Elevate Your Nonprofit's Online Presence_ A Guide to Effective SEO Strategies...Elevate Your Nonprofit's Online Presence_ A Guide to Effective SEO Strategies...
Elevate Your Nonprofit's Online Presence_ A Guide to Effective SEO Strategies...
TechSoup
 
Simple-Present-Tense xxxxxxxxxxxxxxxxxxx
Simple-Present-Tense xxxxxxxxxxxxxxxxxxxSimple-Present-Tense xxxxxxxxxxxxxxxxxxx
Simple-Present-Tense xxxxxxxxxxxxxxxxxxx
RandolphRadicy
 
BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 8 - CẢ NĂM - FRIENDS PLUS - NĂM HỌC 2023-2024 (B...
BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 8 - CẢ NĂM - FRIENDS PLUS - NĂM HỌC 2023-2024 (B...BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 8 - CẢ NĂM - FRIENDS PLUS - NĂM HỌC 2023-2024 (B...
BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 8 - CẢ NĂM - FRIENDS PLUS - NĂM HỌC 2023-2024 (B...
Nguyen Thanh Tu Collection
 
MDP on air pollution of class 8 year 2024-2025
MDP on air pollution of class 8 year 2024-2025MDP on air pollution of class 8 year 2024-2025
MDP on air pollution of class 8 year 2024-2025
khuleseema60
 
SWOT analysis in the project Keeping the Memory @live.pptx
SWOT analysis in the project Keeping the Memory @live.pptxSWOT analysis in the project Keeping the Memory @live.pptx
SWOT analysis in the project Keeping the Memory @live.pptx
zuzanka
 
Bossa N’ Roll Records by Ismael Vazquez.
Bossa N’ Roll Records by Ismael Vazquez.Bossa N’ Roll Records by Ismael Vazquez.
Bossa N’ Roll Records by Ismael Vazquez.
IsmaelVazquez38
 
A Free 200-Page eBook ~ Brain and Mind Exercise.pptx
A Free 200-Page eBook ~ Brain and Mind Exercise.pptxA Free 200-Page eBook ~ Brain and Mind Exercise.pptx
A Free 200-Page eBook ~ Brain and Mind Exercise.pptx
OH TEIK BIN
 
Juneteenth Freedom Day 2024 David Douglas School District
Juneteenth Freedom Day 2024 David Douglas School DistrictJuneteenth Freedom Day 2024 David Douglas School District
Juneteenth Freedom Day 2024 David Douglas School District
David Douglas School District
 
spot a liar (Haiqa 146).pptx Technical writhing and presentation skills
spot a liar (Haiqa 146).pptx Technical writhing and presentation skillsspot a liar (Haiqa 146).pptx Technical writhing and presentation skills
spot a liar (Haiqa 146).pptx Technical writhing and presentation skills
haiqairshad
 
220711130083 SUBHASHREE RAKSHIT Internet resources for social science
220711130083 SUBHASHREE RAKSHIT  Internet resources for social science220711130083 SUBHASHREE RAKSHIT  Internet resources for social science
220711130083 SUBHASHREE RAKSHIT Internet resources for social science
Kalna College
 
Temple of Asclepius in Thrace. Excavation results
Temple of Asclepius in Thrace. Excavation resultsTemple of Asclepius in Thrace. Excavation results
Temple of Asclepius in Thrace. Excavation results
Krassimira Luka
 
Philippine Edukasyong Pantahanan at Pangkabuhayan (EPP) Curriculum
Philippine Edukasyong Pantahanan at Pangkabuhayan (EPP) CurriculumPhilippine Edukasyong Pantahanan at Pangkabuhayan (EPP) Curriculum
Philippine Edukasyong Pantahanan at Pangkabuhayan (EPP) Curriculum
MJDuyan
 
THE SACRIFICE HOW PRO-PALESTINE PROTESTS STUDENTS ARE SACRIFICING TO CHANGE T...
THE SACRIFICE HOW PRO-PALESTINE PROTESTS STUDENTS ARE SACRIFICING TO CHANGE T...THE SACRIFICE HOW PRO-PALESTINE PROTESTS STUDENTS ARE SACRIFICING TO CHANGE T...
THE SACRIFICE HOW PRO-PALESTINE PROTESTS STUDENTS ARE SACRIFICING TO CHANGE T...
indexPub
 
Bonku-Babus-Friend by Sathyajith Ray (9)
Bonku-Babus-Friend by Sathyajith Ray  (9)Bonku-Babus-Friend by Sathyajith Ray  (9)
Bonku-Babus-Friend by Sathyajith Ray (9)
nitinpv4ai
 
Gender and Mental Health - Counselling and Family Therapy Applications and In...
Gender and Mental Health - Counselling and Family Therapy Applications and In...Gender and Mental Health - Counselling and Family Therapy Applications and In...
Gender and Mental Health - Counselling and Family Therapy Applications and In...
PsychoTech Services
 
Skimbleshanks-The-Railway-Cat by T S Eliot
Skimbleshanks-The-Railway-Cat by T S EliotSkimbleshanks-The-Railway-Cat by T S Eliot
Skimbleshanks-The-Railway-Cat by T S Eliot
nitinpv4ai
 
Accounting for Restricted Grants When and How To Record Properly
Accounting for Restricted Grants  When and How To Record ProperlyAccounting for Restricted Grants  When and How To Record Properly
Accounting for Restricted Grants When and How To Record Properly
TechSoup
 
Andreas Schleicher presents PISA 2022 Volume III - Creative Thinking - 18 Jun...
Andreas Schleicher presents PISA 2022 Volume III - Creative Thinking - 18 Jun...Andreas Schleicher presents PISA 2022 Volume III - Creative Thinking - 18 Jun...
Andreas Schleicher presents PISA 2022 Volume III - Creative Thinking - 18 Jun...
EduSkills OECD
 
220711130088 Sumi Basak Virtual University EPC 3.pptx
220711130088 Sumi Basak Virtual University EPC 3.pptx220711130088 Sumi Basak Virtual University EPC 3.pptx
220711130088 Sumi Basak Virtual University EPC 3.pptx
Kalna College
 

Recently uploaded (20)

Data Structure using C by Dr. K Adisesha .ppsx
Data Structure using C by Dr. K Adisesha .ppsxData Structure using C by Dr. K Adisesha .ppsx
Data Structure using C by Dr. K Adisesha .ppsx
 
Elevate Your Nonprofit's Online Presence_ A Guide to Effective SEO Strategies...
Elevate Your Nonprofit's Online Presence_ A Guide to Effective SEO Strategies...Elevate Your Nonprofit's Online Presence_ A Guide to Effective SEO Strategies...
Elevate Your Nonprofit's Online Presence_ A Guide to Effective SEO Strategies...
 
Simple-Present-Tense xxxxxxxxxxxxxxxxxxx
Simple-Present-Tense xxxxxxxxxxxxxxxxxxxSimple-Present-Tense xxxxxxxxxxxxxxxxxxx
Simple-Present-Tense xxxxxxxxxxxxxxxxxxx
 
BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 8 - CẢ NĂM - FRIENDS PLUS - NĂM HỌC 2023-2024 (B...
BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 8 - CẢ NĂM - FRIENDS PLUS - NĂM HỌC 2023-2024 (B...BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 8 - CẢ NĂM - FRIENDS PLUS - NĂM HỌC 2023-2024 (B...
BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 8 - CẢ NĂM - FRIENDS PLUS - NĂM HỌC 2023-2024 (B...
 
MDP on air pollution of class 8 year 2024-2025
MDP on air pollution of class 8 year 2024-2025MDP on air pollution of class 8 year 2024-2025
MDP on air pollution of class 8 year 2024-2025
 
SWOT analysis in the project Keeping the Memory @live.pptx
SWOT analysis in the project Keeping the Memory @live.pptxSWOT analysis in the project Keeping the Memory @live.pptx
SWOT analysis in the project Keeping the Memory @live.pptx
 
Bossa N’ Roll Records by Ismael Vazquez.
Bossa N’ Roll Records by Ismael Vazquez.Bossa N’ Roll Records by Ismael Vazquez.
Bossa N’ Roll Records by Ismael Vazquez.
 
A Free 200-Page eBook ~ Brain and Mind Exercise.pptx
A Free 200-Page eBook ~ Brain and Mind Exercise.pptxA Free 200-Page eBook ~ Brain and Mind Exercise.pptx
A Free 200-Page eBook ~ Brain and Mind Exercise.pptx
 
Juneteenth Freedom Day 2024 David Douglas School District
Juneteenth Freedom Day 2024 David Douglas School DistrictJuneteenth Freedom Day 2024 David Douglas School District
Juneteenth Freedom Day 2024 David Douglas School District
 
spot a liar (Haiqa 146).pptx Technical writhing and presentation skills
spot a liar (Haiqa 146).pptx Technical writhing and presentation skillsspot a liar (Haiqa 146).pptx Technical writhing and presentation skills
spot a liar (Haiqa 146).pptx Technical writhing and presentation skills
 
220711130083 SUBHASHREE RAKSHIT Internet resources for social science
220711130083 SUBHASHREE RAKSHIT  Internet resources for social science220711130083 SUBHASHREE RAKSHIT  Internet resources for social science
220711130083 SUBHASHREE RAKSHIT Internet resources for social science
 
Temple of Asclepius in Thrace. Excavation results
Temple of Asclepius in Thrace. Excavation resultsTemple of Asclepius in Thrace. Excavation results
Temple of Asclepius in Thrace. Excavation results
 
Philippine Edukasyong Pantahanan at Pangkabuhayan (EPP) Curriculum
Philippine Edukasyong Pantahanan at Pangkabuhayan (EPP) CurriculumPhilippine Edukasyong Pantahanan at Pangkabuhayan (EPP) Curriculum
Philippine Edukasyong Pantahanan at Pangkabuhayan (EPP) Curriculum
 
THE SACRIFICE HOW PRO-PALESTINE PROTESTS STUDENTS ARE SACRIFICING TO CHANGE T...
THE SACRIFICE HOW PRO-PALESTINE PROTESTS STUDENTS ARE SACRIFICING TO CHANGE T...THE SACRIFICE HOW PRO-PALESTINE PROTESTS STUDENTS ARE SACRIFICING TO CHANGE T...
THE SACRIFICE HOW PRO-PALESTINE PROTESTS STUDENTS ARE SACRIFICING TO CHANGE T...
 
Bonku-Babus-Friend by Sathyajith Ray (9)
Bonku-Babus-Friend by Sathyajith Ray  (9)Bonku-Babus-Friend by Sathyajith Ray  (9)
Bonku-Babus-Friend by Sathyajith Ray (9)
 
Gender and Mental Health - Counselling and Family Therapy Applications and In...
Gender and Mental Health - Counselling and Family Therapy Applications and In...Gender and Mental Health - Counselling and Family Therapy Applications and In...
Gender and Mental Health - Counselling and Family Therapy Applications and In...
 
Skimbleshanks-The-Railway-Cat by T S Eliot
Skimbleshanks-The-Railway-Cat by T S EliotSkimbleshanks-The-Railway-Cat by T S Eliot
Skimbleshanks-The-Railway-Cat by T S Eliot
 
Accounting for Restricted Grants When and How To Record Properly
Accounting for Restricted Grants  When and How To Record ProperlyAccounting for Restricted Grants  When and How To Record Properly
Accounting for Restricted Grants When and How To Record Properly
 
Andreas Schleicher presents PISA 2022 Volume III - Creative Thinking - 18 Jun...
Andreas Schleicher presents PISA 2022 Volume III - Creative Thinking - 18 Jun...Andreas Schleicher presents PISA 2022 Volume III - Creative Thinking - 18 Jun...
Andreas Schleicher presents PISA 2022 Volume III - Creative Thinking - 18 Jun...
 
220711130088 Sumi Basak Virtual University EPC 3.pptx
220711130088 Sumi Basak Virtual University EPC 3.pptx220711130088 Sumi Basak Virtual University EPC 3.pptx
220711130088 Sumi Basak Virtual University EPC 3.pptx
 

Algorithms problem Given a class called Book which has four private me.pdf

  • 1. Algorithms problem Given a class called Book which has four private members: title (string), author (string), price (float or double) and noOfCopies (an integer). Define a constructor function that will assign the values of title, author, price and noOfCopies values from users chosen parameters, say title1, author1, price1, copies1