Write a program that prompts the user for a name social


Write the following applications as separate projects. Please follow the following naming convention when you create the project: FirstnameLastname_Assignment1_Part1 or Part 2 (e.g., LikoebeMaruping_Assignment1, LikoebeMaruping_Assignment1_Part2) PART I. Payroll Application (Console Application)

Description: Write a program that prompts the user for a name, Social Security number, hourly pay rate, and number of hours worked. Display the information that was input by the user.

In addition, compute and display values for the following:• Gross pay: hourly pay rate x hours worked • Federal withholding tax: 15% of the gross pay • State withholding tax: 5% of the gross pay • Net pay: gross pay - taxes Evaluation criteria: Your application will be evaluated according to the following criteria: • Performs required functions (e.g., gets user input, displays required information) • Uses appropriate variable/constant data types • Output is shown in a user-friendly format (e.g., dollar signs and appropriate number of decimal points, labels to indicate what each value represents) • Adequate use of comments in the code Bonus (5 points): • See if you can figure out how to display the output such that the numeric output is vertically aligned flush right. • An example would be: Gross pay: $1,250.59 Federal withholding (15%): $187.59 State withholding (5%): $62.53 PART II. Snowboard Order Application (Console Application) Description: Write a program for the Hamster Snowboard Company. The program should prompt the user for a name, street address, city, state, and zip code and the number of snowboards ordered at $499.95 each. Display the information that was input by the user. In addition, compute and display the values for the following: • Sub-total: number of snowboards ordered x unit price • Sales tax amount: 7% of the sub-total • Total: sub-total + sales tax amount Evaluation criteria: Your application will be evaluated according to the following criteria: • Performs required functions (e.g., gets user input, displays required information) • Uses appropriate variable/constant data types • Output is shown in a user-friendly format (e.g., dollar signs and appropriate number of decimal points, labels to indicate what each value represents) • Adequate use of comments in the code

Solution Preview :

Prepared by a verified Expert
DOT NET Programming: Write a program that prompts the user for a name social
Reference No:- TGS0647232

Now Priced at $40 (50% Discount)

Recommended (90%)

Rated (4.3/5)