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 07:00
You need a quick answer from a coworker. the most effective way to reach your coworker is through a. cloud server b. instant message c. teleconference d. telepresence
Answers: 1
question
Computers and Technology, 23.06.2019 09:20
How to print: number is equal to: 1 and it is odd number number is equal to: 2 and it is even number number is equal to: 3 and it is odd number number is equal to: 4 and it is even number in the console using java using 1 if statement, 1 while loop, 1 else loop also using % to check odds and evens
Answers: 3
question
Computers and Technology, 23.06.2019 17:00
What are the 12 colors of the spectrum called?
Answers: 1
question
Computers and Technology, 24.06.2019 04:30
Fall protection, confined space entry procedures, controlled noise levels, and protection from chemical hazards are some of the things that contribute to a safe and
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
Chemistry, 29.01.2021 23:20
question
Mathematics, 29.01.2021 23:20
question
Geography, 29.01.2021 23:20
question
Mathematics, 29.01.2021 23:20
question
Mathematics, 29.01.2021 23:20
Questions on the website: 13722361