Write a C++ application for a small shop. Write Item class with following attributes itemCode itemName itemQuantity
Fantastic news! We've Found the answer you've been seeking!
Question:
Write a C++ application for a small shop.
Write Item class with following attributes
itemCode
itemName
itemQuantity
itemPrice
Where itemPrice is of the type float and item Quantity is of the type int.
Write a methods addItem() as member of class. Write a method sale() in main() function to
On execution display a menu.
Press a to add an item in inventory.
Press s for sale invoice.
Press q to quit.
addItem() method is self explanatory.
On calling sale() method, user is asked to enter itemCode and itemQuantity if itemCode is zero sale() method must print invoice with itemCode, itemName, itemQuantity, and Total Price in each row. Grand Total on last line
Related Book For
Auditing and Assurance Services
ISBN: 978-0077862343
6th edition
Authors: Timothy Louwers, Robert Ramsay, David Sinason, Jerry Straws
Posted Date: