Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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 solutionStep 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