Answered step by step
Verified Expert Solution
Link Copied!

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

image text in transcribed

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

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

Step: 3

blur-text-image

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

Professional Visual Basic 6 Databases

Authors: Charles Williams

1st Edition

1861002025, 978-1861002020

More Books

Students also viewed these Databases questions