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
Mercy254 0 Newbie Poster
rproffitt 2,662 "Nothing to see here." Moderator
Mercy254 commented: Thank you for sharing the link I've read them I have already started programming it on dev c++. How am I supposed to show that its my work? +0
rproffitt 2,662 "Nothing to see here." Moderator
Dani 4,329 The Queen of DaniWeb Administrator Featured Poster Premium Member
Reverend Jim 4,968 Hi, I'm Jim, one of DaniWeb's moderators. Moderator Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.