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.







Calculate Your Essay Price
(550 words)

Approximate price: $22

Calculate the price of your order

550 words
We'll send you the first draft for approval by September 11, 2018 at 10:52 AM
Total price:
$26
The price is based on these factors:
Academic level
Number of pages
Urgency
Basic features
  • Free title page and bibliography
  • Unlimited revisions
  • Plagiarism-free guarantee
  • Money-back guarantee
  • 24/7 support
On-demand options
  • Writer’s samples
  • Part-by-part delivery
  • Overnight delivery
  • Copies of used sources
  • Expert Proofreading
Paper format
  • 275 words per page
  • 12 pt Arial/Times New Roman
  • Double line spacing
  • Any citation style (APA, MLA, Chicago/Turabian, Harvard)

Our guarantees

Delivering a high-quality product at a reasonable price is not enough anymore.
That’s why we have developed 5 beneficial guarantees that will make your experience with our service enjoyable, easy, and safe.

Money-back guarantee

You have to be 100% sure of the quality of your product to give a money-back guarantee. This describes us perfectly. Make sure that this guarantee is totally transparent.

Read more

Zero-plagiarism guarantee

Each paper is composed from scratch, according to your instructions. It is then checked by our plagiarism-detection software. There is no gap where plagiarism could squeeze in.

Read more

Free-revision policy

Thanks to our free revisions, there is no way for you to be unsatisfied. We will work on your paper until you are completely happy with the result.

Read more

Privacy policy

Your email is safe, as we store it according to international data protection rules. Your bank details are secure, as we use only reliable payment systems.

Read more

Fair-cooperation guarantee

By sending us your money, you buy the service we provide. Check out our terms and conditions if you prefer business talks to be laid out in official language.

Read more

Order your essay today and save 10% with the coupon code: best10