Question: C++ Please write me a program for this problem in C++, but use the main functions provided to test this program #include #include #include Inventory.h

C++

C++ Please write me a program for this problem in C++, but

use the main functions provided to test this program #include #include #include

Please write me a program for this problem in C++, but use the main functions provided to test this program

#include #include #include "Inventory.h" using namespace std; int main() { cout

7. Inventory Class Design an Inventory class that can hold information for an item in a retail store's inventory. The class should have the following private member variables. Variable Name itemNumber quantity cost The class should have the fallowing public member functions. Member Function Description default constructor Sets all the member variables to 0 constructor #2 Description An int that holds the item's number. An int that holds the quantity of the item on hand. A double that holds the wholesale per-unit cost of the item Accepts an item's number, quantity, and cost as arguments. Calls other class functions to copy these values into the appropriate member variables. Then calls the setTotalCost function

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!