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

  Implement an open hash table

In this programming assignment you will implement an open hash table and compare the performance of four hash functions using various prime table sizes.

  Use a search tree to find the solution

Explain how will use a search tree to find the solution.

  How to access virtualised applications through unicore

How to access virtualised applications through UNICORE

  Recursive tree algorithms

Write a recursive function to determine if a binary tree is a binary search tree.

  Determine the mean salary as well as the number of salaries

Determine the mean salary as well as the number of salaries.

  Currency conversion development

Currency Conversion Development

  Cloud computing assignment

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

  Design a gui and implement tic tac toe game in java

Design a GUI and implement Tic Tac Toe game in java

  Recursive implementation of euclids algorithm

Write a recursive implementation of Euclid's algorithm for finding the greatest common divisor (GCD) of two integers

  Data structures for a single algorithm

Data structures for a single algorithm

  Write the selection sort algorithm

Write the selection sort algorithm

  Design of sample and hold amplifiers for 100 msps by using n

The report is divided into four main parts. The introduction about sample, hold amplifier and design, bootstrap switch design followed by simulation results.

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