Question: C++ Define a structure named StockItem with two string fields, supplier and productName and one int field, catalogNumber . Then define a structure named Customer
C++
Define a structure named StockItem with two string fields, supplier and productName and one int field, catalogNumber. Then define a structure named Customer with string fields name , streetAddress, city, postalCode, phone. Assume that structures named Date andMoney have already been defined (representing a date and a monetary amount respectively. Finally, define a structure named Purchase that has these fields: buyer of type Customer, itemSold of type StockItem, dateOfSale of type Date, paid of type Money, returnable of type bool.
Thank you
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
