Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Using Java Assignment 5 Creating a Pay Statement Using Arrays Store the following data in Arrays. (Single/Muti-dimensional). Names Pay Rate Hours Adam Smith 12.55 45

Using Java

image text in transcribed

Assignment 5 Creating a Pay Statement Using Arrays Store the following data in Arrays. (Single/Muti-dimensional). Names Pay Rate Hours Adam Smith 12.55 45 Eliza Joseph 19.75 38 Joe Plumber 20.00 50 James Dove 24.90 371 Use if-else loop to compute Regular Pay and Overtime pay and store them in arrays. If the hours worked is less than 40. Regular Pay is hours multiplied by Pay Rate, otherwise it is Pay Rate multiplied by 40. Similarly Overtime Pay is 0, if the hours worked is less than 40, otherwise it is Pay Rate multiplied by one and half and the hours over 40. If the hours worked are less than 40 hours, then print overtime pay as $ 0.00 Insert appropriate comments showing your name, Project name, semester and purpose of the project as comments in the beginning of the file and appropriate additional comments. Print the Pay Statement as shown below, using appropriate formatting functions. ABC Computers Inc. Pay Statement for the week ending September 30, 2020 Employees Pay Rate Hours Regular Pay Overtime Pay Gross Pay Adam Smith $12.55 45 $502.00 $94.13 $596.12 Eliza Joseph $19.75 38 $750.50 $0.00 $750.50 Joe Plumber $20.00 50 $800.00 $300.00 $1,100.00 James Dove $24.90 37 $921.30 $0.00 $921.30

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Systems Design Implementation And Management

Authors: Peter Rob, Carlos Coronel

3rd Edition

0760049041, 978-0760049044

More Books

Students also viewed these Databases questions

Question

4. What action should Cherita Howard take and why?

Answered: 1 week ago