Answered step by step
Verified Expert Solution
Link Copied!

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!!
The other answers arent right because no one is following the directions and prompt.
image text in transcribed
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

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Machine Learning And Knowledge Discovery In Databases European Conference Ecml Pkdd 2017 Skopje Macedonia September 18 22 2017 Proceedings Part 3 Lnai 10536

Authors: Yasemin Altun ,Kamalika Das ,Taneli Mielikainen ,Donato Malerba ,Jerzy Stefanowski ,Jesse Read ,Marinka Zitnik ,Michelangelo Ceci ,Saso Dzeroski

1st Edition

3319712721, 978-3319712727

More Books

Students also viewed these Databases questions

Question

The tolerance is + 1 in the 3rd significant digit.

Answered: 1 week ago

Question

Explain the nature of human resource management.

Answered: 1 week ago

Question

Write a note on Quality circles.

Answered: 1 week ago

Question

Describe how to measure the quality of work life.

Answered: 1 week ago