Help with C# programming in Microsoft Visual Studio: You will be creating a program that uses a GUI to allow the user to enter information about an employee. In addition to the main class you create, there will also be four additional classes named fileOutput, baseEmployee, superEmployee and advancedEmployee which you will have to create. For this problem, the baseEmployee class will need to accept user input for a name, email and address for a base employee. The advancedEmployee class should be able to extend the baseEmployee, by allowing an hourly rate and hours worked to be entered. Hours worked must be in the range of 0 to 80 and hourly rate is in the range of 10 to 42.50. The superEmployee class will then extend the advancedEmployee class and allow permission level of high, medium or low to be entered, along with their office number. The program should show a radio button that allows the user to choose whether or not the user is a base employee, advanced employee, or super employee. Whichever option they choose, only the fields that should be entered for that employee type should show up on the screen. After the employee information has been entered, it should be output to the GUI Screen. In addition, all output should be placed into an array or arraylist. The information in this array or arraylist should then be sent to a file named employeeInformation Edit: Not sure what the commenter meant by "Screen needed".
Computer Science
Help with C# programming in Microsoft Visual Studio:
You will be creating a program that uses a GUI to allow the user to enter information about an employee. In addition to the main class you create, there will also be four additional classes named fileOutput, baseEmployee, superEmployee and advancedEmployee which you will have to create. For this problem, the baseEmployee class will need to accept user input for a name, email and address for a base employee. The advancedEmployee class should be able to extend the baseEmployee, by allowing an hourly rate and hours worked to be entered. Hours worked must be in the range of 0 to 80 and hourly rate is in the range of 10 to 42.50. The superEmployee class will then extend the advancedEmployee class and allow permission level of high, medium or low to be entered, along with their office number. The program should show a radio button that allows the user to choose whether or not the user is a base employee, advanced employee, or super employee. Whichever option they choose, only the fields that should be entered for that employee type should show up on the screen. After the employee information has been entered, it should be output to the GUI Screen. In addition, all output should be placed into an array or arraylist. The information in this array or arraylist should then be sent to a file named employeeInformation
Edit: Not sure what the commenter meant by "Screen needed".
Trending now
This is a popular solution!
Step by step
Solved in 2 steps
- The program will consist of one file - the main application class
- Name the class appropriately and name the file Program.cs (the default when you create the application)
- Include documentation at the top of the file that includes
- Your name
- Date of development
- Assignment (e.g., CIS214 Performance Assessment - User Entry of Age)
- Description of the class
- The main application class must meet the following requirements
-
- Print a line that states "Your Name - Week 4 PA User Entry of Age"
- Ask the user to enter their age
- If the age is between 1 and 100
- print a message stating the age the user entered
- exit the program
- If the age is less than 1 or greater than 100
- generate an ArgumentOutOfRangeException
- print the exception information
- print an error message
- If the value is not an integer
- handle the FormatException
- print the exception information
- print an error message
- Continue asking the user to enter their age until a valid age is entered