Error handling | POS408 | UOP

 
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 structureIdentifiers 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.

Get 20% Discount on The assignment
Pages (550 words)
Approximate price: -

Try it now!

Get 20% Discount on The Assignment

We'll send you the first draft for approval by at
Total price:
$0.00

How it works?

Follow these simple steps to get your paper done

Place your order

Fill in the order form and provide all details of your assignment.

Proceed with the payment

Choose the payment system that suits you most.

Receive the final file

Once your paper is ready, we will email it to you.

Our Services

EssayBrill has stood as the world’s leading custom essay writing services providers. Once you enter all the details in the order form under the place order button, the rest is up to us.

Essays

Essay Writing Services

At EssayBrill, we prioritize on all aspects that bring about a good grade such as impeccable grammar, proper structure, zero-plagiarism and conformance to guidelines. Our experienced team of writers will help you completed your essays and other assignments.

Admissions

Admission and Business Papers

Be assured that you’ll definitely get accepted to the Master’s level program at any university once you enter all the details in the order form. We won’t leave you here; we will also help you secure a good position in your aspired workplace by creating an outstanding resume or portfolio once you place an order.

Editing

Editing and Proofreading

Our skilled editing and writing team will help you restructure you paper, paraphrase, correct grammar and replace plagiarized sections on your paper just on time. The service is geared toward eliminating any mistakes and rather enhancing better quality.

Coursework

Technical papers

We have writers in almost all fields including the most technical fields. You don’t have to worry about the complexity of your paper. Simply enter as much details as possible in the place order section.