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, 23.06.2019 09:50
Allison and her group have completed the data entry for their spreadsheet project. they are in the process of formatting the data to make it easier to read and understand. the title is located in cell a5. the group has decided to merge cells a3: a7 to attempt to center the title over the data. after the merge, allison points out that it is not centered and looks bad. where would the title appear if allison unmerged the cells in an attempt to fix the title problem?
Answers: 2
question
Computers and Technology, 23.06.2019 10:30
Would a ps4 wired controller work on an xbox one
Answers: 1
question
Computers and Technology, 24.06.2019 02:40
Has anyone seen my grandma shes been gone for 4 years already
Answers: 1
question
Computers and Technology, 24.06.2019 16:00
Read these lines from beowulf.often scyld scefing seized mead-benches from enemytroops, from many a clan, he terrified warriors, even thoughfirst he was found a waif, best explains why the author includes this information in theexposition? a. to emphasize that a hero must learn to be fierceb. to remember the famous story of a popular heroc. to express sadness about losing the old heroesd. to see whether people still respect the old heroes
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
question
Mathematics, 20.04.2021 22:40
question
History, 20.04.2021 22:40
question
Mathematics, 20.04.2021 22:40
Questions on the website: 13722361