- 1

Programing in c++

The Product class contains two data members of type long used for storing barcodes and the product name. Define a constructor with parameters for both data members. Add default values for the parameters to provide a default constructor for the class. In addition to the access methods setCode() and getCode(), also define the methods scanner() and printer(). For test purposes, these methods will simply output product data on screen or read the data of a product from the keyboard

2nd Apr 2017, 4:26 AM
lalit yadav
2 Answers
+ 14
I have the entire answer to this assignment stored in Code Playground as private, but you have to give me a great reason as to why I should reveal it to you instead of you completing your assignment yourself.
2nd Apr 2017, 5:18 AM
Hatsy Rei
Hatsy Rei - avatar
0
Because uh r great that y pls answer it
2nd Apr 2017, 5:56 PM
Abhishek Kumar
Abhishek Kumar - avatar