How to C++ write the code

Create a program that displays the result of a sales transaction. The calculation requires three
numbers. The first number represents the product price. The second number is the salesperson
commission. These two numbers should be added together. The third value represents a customer
discount; subtract this third from the result of the addition. Create two classes, The first class,
transaction contains the method to do the calculation. The three numbers are passed to this method
by a statement in the other class. The display is in the class that calls the calculation method