Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

The first character is a letter development on which department the employee wor

ID: 3639144 • Letter: T

Question

The first character is a letter development on which department the employee words Accounting has code letter A Marketing has code letter B Research has code letter C Public Relation has code letter D Sales has code letter E Human Resources has code letter F The next two character are number generated by adding 10 to the month if the employee's birth The last two characters are number generated by adding 10to the number of letter is the employee's last name. Example: If employee john Robinson was born in march and works in Marketing. Then his code would be B1318. Write a program to input an employee's department month of birth and last name and them to pries out the employee's code number. If either the department month is excesses inaccurately. You should display in error message. Notes you should use an If block for the entire program. (No select case blocks) you may need use the Trim function when displaying Change Input to uppercase Darling with invalid data

Explanation / Answer

using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; namespace WorkSchedule_App_1v3 { //======================================================================================= public partial class employeeAlterForm4 : Form { static readInFileDel2 readInFileCall = new readInFileDel2 (readInFileClass2.readInFile2); static Employee [] employeeTempArray; //--------------------------------------------------------------------------------------- public employeeAlterForm4() { InitializeComponent(); readInFile(); bool supHold = false; dataGridView1.ColumnCount = 4; dataGridView1.Columns [0].Name = "Employee Name"; dataGridView1.Columns [1].Name = "Date of Birth - Age"; dataGridView1.Columns [2].Name = "Position"; dataGridView1.Columns [3].Name = "Shift Types"; for (int i = 0; i
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote