Question: In c# console application Create a program called Employeelnfo that displays the information of employees in a company. Create a method called DisplayEmployeelnfo and accepts

In c# console application
Create a program called "Employeelnfo" that displays the information of employees in a company. Create a method called "DisplayEmployeelnfo" and accepts three formal parameters by reference, namely, employee ID, employee type and basic salary, accordingly, employee's information are displayed. Overload the method "DisplayEmployeelnfo" in such a way that it accepts five formal parameters by reference, namely, employee ID, employee Type, basic salary, salesamount and commission rate. In the body of the method, allow the user to input the commission rate, calculate the total salary accordingly, and then display the employee's information. In the Main method, demonstrate how the betterness rules work by calling the method twice with the appropriate list of arguments. Hint: total salary = (commission rate * sales amount) + basic salary Sample output 1: Employee 123 is a Regular Employee and has a monthly salary of $1,500 Sample output 2: Employee 456 is a Commissioned Employee and has a monthly salary of $1,550 Once finished, upload a .txt file that contains your solution
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
