Design class for textbook-data field for grade level of book

Assignment Help C/C++ Programming
Reference no: EM1354337

Q1) You should choose one object oriented programming language (C++, Java, C#, etc) to complete this assignment. You need to write a report which includes the source code and any notes. Also submit the source code along with other files if needed to run the program.

a. Design a class named Book that holds a stock number, author, title, price, and number of pages for a book. Include methods to set and get the values for each data field. Also include a displayInfo method that displays each of the Book's data fields with explanation.

b. Design a class named TextBook that is a child class of Book. Include a new data field for the grade level of the book. Create a displayTextBookInfo () method so that you can accommodate the new grade-level field.

c. Design an application that instantiates an object of each type and demonstrates all the methods.

Reference no: EM1354337

Questions Cloud

Compute the net proceeds : Northern Airlines is about to go public. It currently has after-tax receiving’s of $6,000,000 and 4,000,000 shares are owned by the present stockholders.
Balanced scorecard approach as an organizational consultant : Balanced scorecard approach as an organizational consultant - Show how the BCS approach works in technology organizations.prepare an overview document that you will provide the individuals who participate in your meeting.
What is the cannon ball''s speed when it hits the ground : What is the value? in this situation, the interference pattern yet appears showing that each individual electron can interfere with itself.
Elucidate what is the equilibrium price received : What is the equilibrium price paid by the demanders for merino ewes now. Elucidate what is the equilibrium price received by the suppliers for merino ewes.
Design class for textbook-data field for grade level of book : Design a class named TextBook that is child class of Book. Include new data field for grade level of book. Create a displayTextBookInfo () method so that you can accommodate new grade-level field.
Psycho-physiological disorders basics : Psycho-physiological disorders are categorized in the DSM-IV-TR under mental disturbances that arise from psychological dysfunction, existing disorders or other difficulties manifested through physical symptoms.
Self-managing team organizational paradigm : Describe the model's design based on the model, its implications for leaders and followers, literature review and gaps, and the ethical considerations.
Illustrate what is the after-tax market equilibrium price : Assume a per-unit tax of $2.00 is levied on the producers of Gadgets. Illustrate what is the after-tax market equilibrium price and quantity.
Introduction to neurological disorder : What neurological disorder, disease, or accident took place to interrupt this individual's ability?

Reviews

Write a Review

 

C/C++ Programming Questions & Answers

  Program to produce ten random permutations of numbers

In C++(must be able to compile in Visual Studio ): Write a program to produce ten random permutations of numbers 1 to 10.

  Develop a simple poker game

Develop a simple poker game

  Technical paper: memory management

Technical Paper: Memory Management, The intent of this paper is to provide you with an in depth knowledge of how memory is used in executing, your programs and its critical support for applications.

  Computer programming using c language lab

Computer programming using c language lab

  Prepare a program for a retail-mart company

Prepare a program for a company Retail-Mart.

  Program to translates letter grade into number grade

In C++ (should be able to compile in Visual Studio 2010): Write a program to translates letter grade into number grade. Letter grades are A,B,C,D and F, possibly followed by a + or -.

  Iterative programming problem solving approaches

Write a recursive function void reverse ( ) that reverse a sentence

  Computer programming techniques

Construct a program from a design and use appropriate functions

  Write a menu-driven program that maintains an address book

Write a menu-driven program that maintains an address book using a linked list. The address book must supports the following operations

  Implement the guess the word

Implement  the ‘Guess the Word' game in an object-oriented manner

  Write a driver program called testrationalnumber.cpp

Write a driver program called testRationalNumber.cpp to test each of the above functions and overloaded operators in the RationalNumber class.

  Object-oriented systems is the concept of object

At the heart of all object-oriented systems is the concept of an object. Simply stated, an object is a set of related characteristics and their associated actions.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd