subject

Design a C++ class called MFP (short for Multi-Function Printer). The class should have following members: • Default constructor and a parameterized constructor.
• variable ink_volume, type double. This variable keeps track of remaining ink in MFP
• variable paper_sheet, type int. This variable keeps track of remaining paper sheets in MFP.
• variable fax_number, type std::string. This variable stores the default destination fax number.
• void copy(Document doc, int num_of_copies), which makes one or more copies of the given document, given that we have sufficient ink and paper in MFP.
• void print(Document doc, int num_of_copies), which prints one or more copies of the given document, given that we have sufficient ink and paper in MFP.
• void fax(Document doc), which faxes the doc to the default destination fax number •
void fax(Document doc, std::string destination_fax_number), which faxes the doc to the specified destination fax number.

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 00:20
What’s resistance in an electrical circuit ?
Answers: 1
question
Computers and Technology, 22.06.2019 03:00
You install teamviewer on your workstation at home so that you can ac ess it when on the road. how can you be assured that unknown users cant access your computer through team viewer?
Answers: 2
question
Computers and Technology, 22.06.2019 03:00
Data is processed, stored, and transmitted as a series of 1s and 0s. each 1 or 0 is called a(n) . a series of eight 0s and 1s, called a(n) , represents one character—a letter, number, or punctuation mark. data becomes when it is presented in a format that people can understand and use. digital signals are represented by two different , such as +5 volts and +.2 volts. digital data can also take the form of light and dark spots etched onto the surface of a cd or the positive and negative orientation of particles on the surface of a hard disk. data consists of numbers that might be used in arithmetic operations. it can be represented digitally using the number system. data is composed of letters, symbols, and numerals that are not used in arithmetic operations. computers represent this type of data using , ebcdic, unicode, or utf-8. data is quantified using terms such as or kibibyte (1024 bytes), and prefixes such as or mebi (1,048,576), and giga or (1,073,741,824). to reduce file size and transmission times, digital data can be compressed. compression provides the means to compress data and reconstitute it into its original state. compression throws away some of the original data during the compression process. compressed files usually have at the end of the file name and are represented with special icons. these files have to be or unzipped before you can view the data they contain.
Answers: 1
question
Computers and Technology, 23.06.2019 02:00
For a typical middle-income family, what is the estimated cost of raising a child to the age of 18? $145,500 $245,340 $304,340 $455,500
Answers: 1
You know the right answer?
Design a C++ class called MFP (short for Multi-Function Printer). The class should have following me...
Questions