Compute the gross pay of the employee

Assignment Help C/C++ Programming
Reference no: EM131743029

Activity Objective- Demonstrate your analytical and problem-solving skills in analyzing a problem statement and providing your solution by developing a Raptor program that addresses those issues expressed in the problem statement.

Activity Statement- XYZ company, which is located in Huntsville, AL, requires a validation program that will allow the staff at the payroll department to prompt him/her to enter an employee's hourly pay rate and the number of hours worked, validate the entries, and compute the gross pay. The payroll staff can input only pay rates in the range of $7.50 through $18.25 and hours in the range of 0 through 40 are accepted. Design a Raptor program that will accepts the entries for the hourly pay rate and the number of hours, validate them, compute the gross pay, and display the entries (i.e. Hourly pay rate, number of hour) and the gross pay.

Activity Instructions-
You have only one attempt to submit. Therefore, be sure that you are submitting and uploading the correct solution. If you submit the wrong version, you will not be allowed to resubmit the solution. It is your responsibility to ensure that you did upload the correct solution!
Launch the Raptor Flowcharting Program and be sure that the mode option is set on "Intermediate" since modules (procedures not subcharts) are implemented in the solution.

Develop a Raptor program using the following criteria:-Run the program so that it is free of any syntax errors and any logical errors.The program will consists of four modules (procedures not subcharts) namely the main( ) module, the inputData( ) module, computeGrossPay( ) module, and printData( ) module.

The main( ) module will call the inputData( ) module to obtain values for both the number of hours worked and the hourly pay rate for the employee.

The purpose of the inputData( ) module is to allow the payroll staff enter the data associated with the hourly pay rate and the hours worked and validate them

The purpose of the computeGrossPay( ) module is to compute the gross pay of the employee and send it back to the calling module which is the main( ) module.

The purpose of the printData( ) module is called by the main( ) module. Its purpose is to display the data found in the three variables hourly pay rate, number of working hours, and the gross pay after receiving the values of those variables from the main( ) module.
The computation statement with respect to gross pay is Gross pay = hourly pay rate * number of hours worked
Use only local variable. Do not use global variables.

Include appropriate documentation as well as initialize variables.

Reference no: EM131743029

Questions Cloud

What are the three effects in this factorial design : The dependent variable is "Negat" (how many time the mother gives negative feedback to her child during the data collection protocol)
What is the mean number of episodes in the given period : Volcanoes. Almost every year, there is some incidence of volcanic activity on the island of Japan. In 2005 there were 5 volcanic episodes.
Analyze the value of this model for uwear-paledenim scenario : Analyze the value of this model for the UWEAR-PALEDENIM scenario. Recommend specific actions related to application of the selected model.
Find the probability of wearing socks : Socks. In your sock drawer you have 4 blue socks, 5 grey socks, and 3 black ones. Half asleep one morning, you grab 2 socks at random and put them on.
Compute the gross pay of the employee : developing a Raptor program that addresses those issues expressed in the problem statement - Raptor Flowcharting Program and be sure that the mode option is set
Research and review retailing and shopping for products : Describe and summarize their feelings/beliefs/practices. What/how do they anticipate shopping will change over the next 2-4 years?
Discuss odysseus or aeneas : Discuss in a well-developed paragraph which character, Odysseus or Aeneas, you find more heroic
What are the economic considerations : What are the economic considerations? What possible environmental downsides could there be? Are there risks to human health associated with this techno.
Clear conclusion about the effectiveness of the model : State the value of the sample slope for the given model. In testing if the slope in the population is different from zero, identify the P value

Reviews

Write a Review

C/C++ Programming Questions & Answers

  What is taylor rule

What is Taylor rule ?  please write very short paragraph.

  C++ programming to add-subtract-multiply or divide two no

create a text-based, menu-driven program that allows the user to choose whether to add, subtract, multiply or divide two numbers. The program should then input two double values from the use, perform the appropriate calculation, and display the re..

  Calculate square or cube of positive integer input by a user

Assignment: Hands-On Lab. This program will provide options for a user to calculate the square or cube of a positive Integer input by a user.

  Explain the data types used in c language

What is data type? Explain the data types used in C language.Write a program and draw a flowchart to print 1 to 100 all natural numbers.

  How does a sequential file work

How does a sequential file work? Provide an example. Provide C++ code that opens, reads, and then closes a sequential file

  Implement program which performs basic arithmetic operation

Write a complete C program that prompts for two integer numbers (one number at a time, or both at once, as you wish), reads them into two variables of type int find then calculates and prints the following five values

  An analysis model for the mail order company

An analysis model for the mail order company - UML class diagrams and UML sequence diagrams may be prepared using any of the tools listed on the course Library page or with other drawing tools.

  Prepare a linux shell

Prepare a linux shell (in other words, write a C/C++ program) that will recursively prompt for input from the user. The shell should prompt as

  Calculate the total as well as the average payment

Create a C++ application which will read a file of daily payments, calculate the total as well as the average payment, display the results to the screen and write the results to a file

  Explain characteristics unique to object-oriented programing

The machine language treats a message as bits while object-oriented programming language treats every message as an object. Do you agree with this statement? Why or why not? Explain the characteristics unique to object-oriented programming and how..

  Loops and nested loops

Loops and Nested Loops- Suggest one (1) example of a problematic programming situation or scenario that nested loops could at least partially resolve. Justify your response

  Techniques for information hiding and encapsulation

What techniques did you utilize for information hiding and encapsulation? Are there any improvements you would make? If so, what would they be?

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