Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

c#visual stutio thank you 1. Define a structure named EmployeeData that contains a string named EmployeeName, an integer named EmployeeID, and a decimal named EmployeePay.

c#visual stutio thank you

1. Define a structure named EmployeeData that contains a string named EmployeeName, an integer named EmployeeID, and a decimal named EmployeePay. Define a variable named Boss that is an instance of EmployeeData. then Assign the following values to the attributes of Boss

a.EmployeeName gets the value from the textbox txtName. b.EmployeeID gets the value from the textbox txtID. c.EmployeePay gets the value from the textbox txtPay.

f.Add a constructor to the structure EmployeeData which sets EmployeeName to unknown, EmployeeID to -1, and EmployeePay to 0.0m.WorkersEmployeeData

Write each of the following instructions.

Define a list of Workers named currentEmployees. Define a variable named newEmployee that is an instance of the structure EmployeeData. Add newEmployee to currentEmployees. Copy the value of the first member of currentEmployees into newEmployee.

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_2

Step: 3

blur-text-image_3

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

Advances In Databases And Information Systems 14th East European Conference Adbis 2010 Novi Sad Serbia September 2010 Proceedings Lncs 6295

Authors: Barbara Catania ,Mirjana Ivanovic ,Bernhard Thalheim

2010th Edition

3642155758, 978-3642155758

More Books

Students also viewed these Databases questions

Question

Question What is an educational benefit trust and how is it used?

Answered: 1 week ago

Question

Question How are VEBA assets allocated when a plan terminates?

Answered: 1 week ago

Question

Question May a taxpayer roll over money from an IRA to an HSA?

Answered: 1 week ago