ITAP1001 Formulate the Algorithm using Pseudocode
You are required to develop a C# application Named PayCalculator.cs that will determine the gross pay for each of three employees. The company pays straight time for the first 40 hours worked by each employee and time and a half for all hours worked in excess of 40 hours. You are given a list of the three employees of the company, the number of hours each employee worked last week and the hourly rate of each employee. Your application should input this information for each employee and should determine and display the employee’s gross pay. Use the Console class’s ReadLine method to input the data.
b) Write a C# application. Include the C# program code in your assignment submission.
c) Test, debug and execute the C# application with 3 sets of employee data as given below to verify if your program calculates the pay correctly for each employee. Include the output in your assignment submission.
? Following source codes you should publish.
• Problem 1 – Five.cs
• Problem 2 - PayCalculator.cs
? The report should contain following headings for each problem.
• Introduction for both the programs
• Flowcharts to depict each application logic
• The test cases
• Screenshots for sample inputs, outputs and errors.
How to Submit
Submit via Moodle using the link provided on or before the deadline. You should submit the assignment on or before 10th January 2018.
Answer:
The program is designed to take input of a 5 digit number and then print the individual digits of the number with a gap of
3 spaces. Flow Chart
Input: 65458
Output: 6 5 4 5 8
Output
The Pay Calculator class is designed to calculate the gross pay of 3 employees depending on their hourly pay rate and hours worked. On working for more than 40 hours, the extra pay is half the hourly rate per hour.
Flowchart
Test Reason: To check if the program outputs proper messages on erroneous inputs of string in place of numbers.
Hourly Rate: pop
Expected Output: Appropriate Error-Message
Actual output: “Enter Numbers Only”
Test Reason: To check if the program outputs proper results when the hours entered is more than the boundary mark of 40 hrs.
Hourly Rate: 15.6
Hours: 60
Expected Output: 1092
Actual output: $1092
Test Reason: To check if the program outputs proper results when the hours entered is less than the boundary mark of 40 hrs.
Hourly Rate: 18
Hours: 35
Expected Output: 630
Actual output: $630
Test Reason: To check if the program outputs proper results in the boundary hour mark of 40 hours.
Hourly Rate: 15
Hours: 40
Expected Output: 600
Actual output: $600
Output
The Random Number Generator program is used to generate 50 random numbers within the range 0-9 and then the frequency or histogram of each of these numbers are generated depending one user’s choice.
Flow chart
Buy ITAP1001 Formulate the Algorithm using Pseudocode Answers Online
Talk to our expert to get the help with ITAP1001 Formulate the Algorithm using Pseudocode Answers to complete your assessment on time and boost your grades now
The main aim/motive of the management assignment help services is to get connect with a greater number of students, and effectively help, and support them in getting completing their assignments the students also get find this a wonderful opportunity where they could effectively learn more about their topics, as the experts also have the best team members with them in which all the members effectively support each other to get complete their diploma assignments. They complete the assessments of the students in an appropriate manner and deliver them back to the students before the due date of the assignment so that the students could timely submit this, and can score higher marks. The experts of the assignment help services at urgenthomework.com are so much skilled, capable, talented, and experienced in their field of programming homework help writing assignments, so, for this, they can effectively write the best economics assignment help services.