Write a program to meet specifications of company request

Assignment Help Programming Languages
Reference no: EM132231755

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 out or ref arguments

• The program displays on the console all the software developers' data, name, ZIP code, payee type, monthly gross pay, monthly taxes, monthly net pay, annual gross pay, annual taxes, and annual 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:

1. Compile and Execute without errors

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

• Software developer name

• ZIP Code

• Monthly and annual gross pay

• Employee type: W2/1099

• Monthly and annual taxes determined by employee type

• Monthly and annual net pay

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

4. User inputs and outputs should be clear on screen

5. The program code should laid out with appropriate indentation to show program structureIdentifiers logically describe use

6. Naming conventions are consistent

7. Comments and headers to explain processing that is not obvious

Constraints for assignments in this course: Collect all data (name, ZIP, monthly gross pay, employee type) 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.

Each payee's report shall be displayed as follows: identifying information (name, ZIP, employee type) first, followed by monthly amounts, followed by annual amounts.

After all payees' data has been displayed, the program shall prompt the user to press ENTER to continue, and shall allow the program to finish (and the console to close), only after the user has pressed the key to dismiss the program.

Zip your Visual Studio solution project folder so it can be submitted for grading. In Visual Studio, you can locate the folder with your solution by left clicking on the solution node in the Solution Explorer. Look at the Properties window to find the folder name in the Path property. Locate this folder in File Explorer and zip the folder.

Submit your ZIP file using Assignment Files tab.

Reference no: EM132231755

Questions Cloud

What is the level of excess reserves : What is the level of excess reserves? Make sure to include a negative sign if necessary.
Increase in price results in a decrease : Assume a factory is polluting the air in a town. Other than using a tax, the only efficient solution other is to assign property rights (e.g. the right to tax)
Union representative for the machinists working on planes : Suppose Tom's brother works for an airline as a union representative for the machinists working on the planes. Two years ago, there was a forced landing
Product like gasoline or cigarettes instead of a product : If it is the government's desire to raise quite a bit of tax revenue, why should it tax a product like gasoline or cigarettes instead of a product like yachts?
Write a program to meet specifications of company request : POS 408 Using Visual Studio and C# programming concepts, write a program to meet the specifications of the company's request.
Statement of financial performance or annual report : Obtain a financial report of company from ASX website or google latest finical report 2018, statement of financial performance or annual report, balance sheet
Create a troubleshooting tool guide that identifies tools : NTC362 In anticipation of issues that may arise when installing new hardware and software, you have been asked to create a Troubleshooting Tool Guide.
What steps can be taken to mitigate the risks : Describe what IoT is; what are some of the security risks and issues with IoT devices; what steps can be taken to mitigate these risks?
Define relationship between users and roles in databases : Discuss, in your own words using 500 words or more, the relationship between users and roles in databases. Explain why we use roles rather than simply assigning

Reviews

Write a Review

Programming Languages Questions & Answers

  Write program to store people-s name-phone numbers in array

Write down the program which has the array of at least ten string objects which hold people's name and phone numbers.

  Describe logic why it is not enough to show reduction

If we can only show: if x belongs to A, then y does not belongs to B;explain the logic why it is not enough to show A reduction B.IN other words why the theory needs to prove"if and only if"?

  Write a program that lets the user play the game of rock

Write a program that lets the user play the game of Rock, Paper, Scissors against the computer. When the program begins, the user is asked to seed the random number generator, and a random number in the range of 1 through 3 is generated

  Create a serial sequence detector

You are to create a "Serial Sequence Detector". Your design will take in clock, reset, and one-bit data signal. Your design will check input data signal on rising edge of the input clock.

  Program that satisfies requirements of programming project

Write a program that satisfies the requirements of Programming Project 2 of Hanly, and that uses the following modifications and tips -Use the COLOR_CODES string array.

  Implement the curried functions in ocaml

Goal of this project is to get you familiar with programming in OCaml. You will have to write a number of small functions - write a helper function which will add another 3-6 lines.

  Business rules form the basis of the database design.

A member receives many invitations, and each invitation is sent to many members.

  Draw a plot showing sustained oscillations

Use the Ziegler-Nichols (Z-N) method to find Ku and Tu. Draw a plot showing sustained oscillations and period of the oscillations. An example plot is shown in figure 3.5. Provide the values of Ku and Tu.

  Measure the number of iterations of the inner loop

Let i measure the number of iterations of the inner loop of B3 and B4 (which count of iterations we cannot know), and let j measure the number of iterations of the outer loop (which we also cannot know). What is gj ?

  Develop an implementation plan and submit a project proposal

Develop an implementation plan and submit a project proposal - determine a research methodology that integrates research tools and methodologies

  Write a perl script code

Write a Perl script which uses the segment of code over and over again, and you are tired of repeatedly typing in this code. Which of the following must you do?

  Write program to calculate diameter in centimeters of rod

Write program to calculate diameter in centimeters of a steel rod, an aluminum rod, and a copper rod, which can withstand a particular compression load.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd