Computer Science, asked by bhavnabundela610, 5 months ago

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 AdityaAnthick
1

Sorry But i cant just because its just gives me 5 ppojnts

Answer:

sseedeee

Similar questions