Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Answer in C# please. And use the same methods and classes!! The other answers arent right because no one is following the directions and prompt.
Answer in C# please. And use the same methods and classes!!
SAGE / MINDTAP ming Exercise 9:3 Instructions Create an application namod Sales TransactionDomo that declares several Salestransaction objects and displays thoir values and their sum. The Salestransaction class contains the following static void MaSn() fields: - Nane - The salesperson's name (as a string) publice static void Dioplay(Solestransaction s) - salesAmount - The sales amount (as a double) - commission - The commission (as a double ) - rate - A readonly fold that stores the II will te your main heze. commission rate (as a double), Dofine a getRate() accossor method that returns the RATE Include three constructors for the class. One constructor accepts values for the name, sales amount, and rate, and when the sales value is set, the constructor computes the commission as sales value times commission rate. The second constructor accepts a name and sales amount, but sots the commission tate to 0 . The third constructor accopts a name and sets all the other fields to 0 . An overloaded + operator adds the sales values for two Salestransection objects and roturns a now. Silesiranpoction objoct The other answers arent right because no one is following the directions and prompt.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started