Create a class Stock as given:
Class name: Stock
Data members : code (long integer type) to store the product code qty (integer),
price, total, discount, net price (all double type)
Member functions :
Stock( long n, int q, constructor to assign n to code q to qty, p to price.
double p
void Compute () to calculate total cost, discount as 25% on total cost, discount
and net price to be paid.
Write a main() function to create suitable object of the class and print the details of the product by
calling the suitable methods
Answers
Answered by
1
Sorry But i cant just because its just gives me 5 ppojnts
Answer:
sseedeee
Similar questions
Math,
2 months ago
History,
2 months ago
Math,
5 months ago
Science,
10 months ago
CBSE BOARD X,
10 months ago