Create an application that demonstrates how both method


Problem

Complete the following tasks:

a. Create a class named Commission that includes two numeric variables: a sales figure and a commission rate. Also create two overloaded methods named compute Commission(). The first method takes two numeric arguments representing sales and rate, multiplies them, and then displays the results. The second method takes a single argument representing sales. When this method is called, the commission rate is assumed to be 7.5 percent and the results are displayed.

b. Create an application that demonstrates how both method versions can be called.

Request for Solution File

Ask an Expert for Answer!!
Computer Engineering: Create an application that demonstrates how both method
Reference No:- TGS02648743

Expected delivery within 24 Hours