Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask Computer Engineering Expert

Question: The Software Development Company requests you add user error exception handling capabilities to the C# program.

For this week's assignment, build on the Week Three Individual Assignment, "Branching in C#," by storing each software developer's information in a C# data structure object record. The C# data structure object record must include the type of employee as either W2 or 1099 using the following requirements:

• The 1099 software development employees' records always have zero tax amounts

• The program properly handles and informs the user about errors on user input

• The program allows the user to reenter and input value that was invalid, until the user succeeds in entering a valid value.

• The program demonstrates in the code the use of ref arguments

• The program displays on the console all the software developers' data, monthly pay, monthly taxes, annual gross pay, annual taxes, and net pay

Using Visual Studio® and C# programming concepts, write a program to meet the specifications of the company's request. The program should have the following characteristics:

• Compile and Execute without errors

• Meets specifications by displaying on the console a welcome message along with the following information on three software developers:

- Software developer name

- ZIP Code

- Gross monthly pay

- Annual gross pay

- Employee type: W2/1099

- Monthly and annual taxes determined by employee type

• Logic flow is clear, concise, and effective; demonstrates exception handling routines and reference types by catching and displaying user data entry errors and implementing reference types as part of the code

• User inputs and outputs should be clear on screen

• The program code should laid out with appropriate indentation to show program structure Identifiers logically describe use

• Naming conventions are consistent

• Comments and headers to explain processing that is not obvious

Constraints for assignments in this course: Collect all data and store it as the user enters it. When all the data is collected, display the data and any calculated data on the console. Data displayed on the console must be correctly labelled so that the user will be able to understand what it means. After all data has been displayed, the program will prompt the user to press ENTER to continue, and will allow the program to finish (and the console to close), only after the user has pressed the key to dismiss the program.

Information related to above question is enclosed below:

Attachment:- GLweek3Branching.zip

Computer Engineering, Engineering

  • Category:- Computer Engineering
  • Reference No.:- M92871658
  • Price:- $40

Priced at Now at $40, Verified Solution

Have any Question?


Related Questions in Computer Engineering

From a security standpoint do you believe the apple

From a security standpoint, do you believe the Apple approach of hiding permissions or the Android approach of requiring the user to accept application permissions is a better approach? Why do you feel this way and do yo ...

Requirementswrite a java program that reads a set of

Requirements: Write a java program that reads a set of integer lattice points, prints out the ones on the boundry of the convex hull sorted left to right (ie by x-coordinate), and then accepts additional points and deter ...

A series of information frames with a mean length of 100

A series of information frames with a mean length of 100 bits is to be transmitted across the following data links using an idle RQ protocol. If the velocity of propagation of the links is 2 * 10 8 ms -1 , determine the ...

A video movie store owner finds that 30 of the customers

A video movie store owner finds that 30% of the customers entering the store ask an assistant for help and that 20% of the customers make a purchase before leaving. It is also found that 15% of all customers both ask for ...

If sailsboro just paid a dividend of 2 per share amp

If Sailsboro just paid a dividend of $2 per share & dividends are expected to grow at 8%, 6%, and 5% for the next three years respectively. After that the dividends are expected to grow at a constant rate of 3% indefinit ...

Question suppose that you have a balanced binary search

Question : Suppose that you have a balanced binary search tree that does not support delete. (It does support the other dictionary operations, e.g., search, insert, and in-order traversal of the elements in the structure ...

Taylor found that 8 of the recipients of loans form a

Taylor found that 8% of the recipients of loans form a particular mortgage lender default within 3 years. If he takes a random sample of 736 customers who received loans 3 years ago, what is the average number of custome ...

Assume a data histogram is bell shaped with an average of

Assume a data histogram is bell shaped with an average of 60 and standard deviation of 10. Using the Empirical Rule, approximately what percentage of data fall between 50 and 80?

Scenario your algorithm will keep track of a customers

Scenario Your algorithm will keep track of a customer's purchases at the local fireworks stand. Customers will not know exactly how many items they will purchase, so using a For loop on this lab is not allowed. Let's kee ...

You are evaluating two different silicon wafer milling

You are evaluating two different silicon wafer milling machines. The Techron I costs $255,000, has a three-year life, and has pretax operating costs of $68,000 per year. The Techron II costs $445,000, has a five-year lif ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As