Write program that used to calculate employee salary

Assignment Help Data Structure & Algorithms
Reference no: EM132369385

Assignment -

The new company ABC established under the "One district one factory" has asked you as computer scientist to write a program that will be used to calculate the employee salary or pay slip of 10 employees based on the following conditions:

  • empId: to hold employee identification numbers. The array should be initialized with the following numbers: 1234567 2345678 3456/789 5658845 4520125 7895122 8777541 8451277 1302850 7580489.
  • hours: hold the number of hours worked by each employee
  • payRate: hold each employee's hourly pay rate
  • wages : hold each employee's gross wages.

The program should display each employee number and ask the user to enter that employee's hours and pay rate. It should then calculate the gross wages for that employee (hours times pay rate) and store them in the wages array. After the data has been entered for all the employees, the program should display each employee's identification number and gross wages.

Input Validation: Do not accept negative values for hours or numbers less than 15.00 for pay rate.

Reference no: EM132369385

Questions Cloud

How you would present the results of the evaluation to group : Post an analysis of how you would present the results of the evaluation to a group of social work colleagues. Identify the background information.
Make a three-level schema architecture for the Gyan Gurukul : Ashutosh Dubey who is the director of Gyan Gurukul want a three-level schema architecture for the Gyan Gurukul Company
How do we encounter mcdonaldization in the news : How do we encounter McDonaldization in the news? Analyze their everyday life using the four principles of McDonaldization.
Explain the operation of policy cycles : BSBMGT518 - Develop Organisation Policy - Australian Vocational Training Institute - Explain policy development processes and practices
Write program that used to calculate employee salary : Write a program that will be used to calculate the employee salary or pay slip of 10 employees. The program should display each employee number
Risk management possible without constructive dialogue : Is effective risk management possible without constructive dialogue? What are the preconditions for conducting constructive dialogue in an organization?
What conflicting feelings does Achilles experience : What conflicting feelings does Achilles experience as a result of his decision to withdraw from battle? What theme of the poem does this dilemma help convey
Introductions need to grab the audience attention : Introductions need to grab the audience's attention. Restate your approved topic and explain, specifically how will you introduce your topic in a catchy way.
Legal regulations and compliance invest : During the past several weeks, you completed a team assignment on a business segment and its legal, compliance, and regulatory issues.

Reviews

Write a Review

Data Structure & Algorithms Questions & Answers

  Why internet need http

Discuss why does the Internet need HTTP, TCP, IP and DNS? Explain why is not the Internet Protocol enough to do the job? Please reply to these specific points of confusion.

  Generate 25 random characters for each string

You are to compare two sorting algorithms and to compare two searching algorithms by running and collecting data on each. Your data for sorting and searching will be strings of 25 characters in length.

  Kind of switching to configure switch to use

Your network's traffic load is very high all times, day and night. What kind of switching do you configure switch to use?

  Cloud computing assignment

WSDL service that receives a request for a stock market quote and returns the quote

  Use of sequential or relational file

Assume you wish to keep a record of everything you have in your house. You could use a sequential data document to keep track of common items such as 'cloths'.

  Principles and theory of security management

think of some intrusions - the disgruntled mailman flying onto the Capitol lawn on his gyrocopter and remember the couple who crashed a White House function a few years ago?

  Identify the three sublists that exist at that point

An array contains the elements shown below. Using a quick sort, show the contents of the array after the first pivot has been placed in its correct location. Identify the three sublists that exist at that point.

  Write down an algorithm to take a string of logic expression

We consider logic expressions with the following operands and operators: Operands: 0 and 1, which represents false and true, respectively.

  Generate a random list of integers

Generate a random list of integers. Show the binary heap tree resulting from inserting the integers on the list one at a time.

  Plot the time complexity according to theoretical bounds.

Be sure to only include the time needed for sorted, excluding the time to generate the random numbers. Plot the results (input size, running time) for BubbleSort and MergeSort.

  Convert the following formulas from reverse polish to infix

Convert the following formulas from reverse Polish to infix.

  Sequential logic structures-flowchart or pseudocode

Document the steps for the logic structure to capture the payment information. This can be done as either a flowchart or pseudocode. Be sure to include inputs, variable declarations and assignments, and outputs.

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