Design a program using structured pseudocode

Assignment Help Programming Languages
Reference no: EM1358653

You have been asked by the Payroll department to create a program that will calculate the weekly pay for the company's 25 employees. The program will prompt the user to provide each employee's full name, hourly pay rate, and hours worked. The program will then ask if the employee is single or married. If an employee is married, the tax rate is 25%; if they are single, the tax rate is 20%. Also, if the employee worked more than 40 hours in a week, the number of hours greater than 40 is paid at a rate of 1.5 times of the provided tax rate.

The program will display a list of all the employee names and weekly pay. In addition, the program will display the total payroll for the week and the average weekly pay.

Design a program using structured pseudocode as demonstrated in the lectures and, ensuring all variables are declared, prompt the user for the appropriate input and display a meaningful output message.

Ensure the following input is validated as follows:
If the hours worked per week is less than zero, set the hours worked to zero.
If the hours worked per week is greater than 80, set the hours worked to 80.
If the pay rate is less than $10 per hour, set the pay rate to 10.
If the pay rate is greater than $50, set the pay rate to 50.

Provide a program introduction message that tells the user how to use the program.

Reference no: EM1358653

Questions Cloud

What is optimal strategy if n is known : Consider the numerical 20 questions game. In this game, player 1 thinks of a number in the range 1 to n. Player 2 What is an optimal strategy if n in known?
Determine the value of the electric potential : Determine the value of the electric potential. calculate the acceleration of the ball when it is 3 cm from the surface and again at the position determined in part b.
Current occupational environment : Current Occupational Environment - What changes in the economy and society have helped create the current occupational environment?
Elucidate what could be done to encourage people to spend : Elucidate what could be done to encourage people to spend more so as to increase aggregate demand and invariably, create employment possibilities.
Design a program using structured pseudocode : Design a program using structured pseudocode as demonstrated in the lectures and, ensuring all variables are declared, prompt the user for the appropriate input and display a meaningful output message.
How much time in seconds will it take the officer : how much time in seconds will it take the officer. A 63 resistor is connected in parallel with a 115.0 resistor. This parallel group is connected in series with a 19 resistor. The total combination is connected across a 15.0 V battery. Find the cur..
Explain how many paths will get built : To pay for these paths, it then taxes Andrew, Beth, and Cathy the prices a+b+c=MC. If the taxes are set so that each resident shares the cost evenly (a=b=c), explain how many paths will get built.
Write java program to enter number of marks : Write a java program called AverageMark.java. This program should allow the user to enter any number of marks and then display the minimum, maximum & average mark.
Companies that use four modes of transportation : Show why this mode is being used and what the costs are on a per ton-mile basis.

Reviews

Write a Review

Programming Languages Questions & Answers

  Write a haskell program to calculates a balanced partition

Write a program in Haskell which calculates a balanced partition of N items where each item has a value between 0 and K such that the difference b/w the sum of the values of first partition,

  Create an application to run in the amazon ec2 service

In this project you will create an application to run in the Amazon EC2 service and you will also create a client that can run on local machine and access your application.

  Explain the process to develop a web page locally

Explain the process to develop a Web page locally

  Write functions

These 14 questions covers java class, Array, link list , generic class.

  Programming assignment

If the user wants to read the input from a file, then the output will also go into a different file . If the user wants to read the input interactively, then the output will go to the screen .

  Write a prolog program using swi proglog

Write a Prolog program using swi proglog

  Create a custom application using eclipse

Create a custom Application Using Eclipse Android Development

  Create a application using the mvc architecture

create a application using the MVC architecture. No scripting elements are allowed in JSP pages.

  Develops bespoke solutions for the rubber industry

Develops bespoke solutions for the rubber industry

  Design a program that models the worms behavior

Design a program that models the worm's behavior.

  Writing a class

Build a class for a type called Fraction

  Design a program that assigns seats on an airplane

Write a program that allows an instructor to keep a grade book and also design and implement a program that assigns seats on an airplane.

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