Placeholder

CSIS 212 Programming Assignment 2 Salary Calculator

$9.00

Description

Exercise 3.20 JHTP (Salary Calculator): Develop a Java application that determines the gross pay for each of three (3) employees. The company pays straight time for the first 40 hours worked by each employee and time and a half for all hours worked in excess of 40. You’re given a list of employees, their number of hours worked last week, and their hourly rates [create your own information/data here to input into the program]. Your program should input this information/data for each employee, then determine and display the employee’s gross pay. Use class Scanner to input the employee data.
Use the follow Screenshot to help code a possible solution. Note: Answers will vary based on the “fake” information/data that you chose to enter in for each employee.
SCREENSHOTS
SOLUTION
PAYMENT
CSIS212 Assignment 2 Report
CSIS212 Assignment 2
The solution consists of:
A report word document for this assignment
All Java programs in case you want to run theses programs on your computer.
Screenshots while running programs
Attachments [Move over files to preview content of those files]
CSIS212_Assignment_2.zip (367.87 KB)
CSIS212-Assignment-2-Report-Screenshot.png
CSIS212-Assignment-2-Screenshot.png
CSIS_212_Assignment_2_Report.docx
Source Code
SalaryCalculator.java
Preview SalaryCalculator.java
xxxxxx xxxxx; // xxxxxx xx xxxxx xxxxxx xxxxx
xxxxxx xxx; // xxxx xx xxxxxx xxxx xxxxx
xxxxxx xxxxxxxx; // xxxx xx xxxxxxxxx xxxxxxxx
// First input is for employee #1 System.out.println(“Enter the number of regular hours worked Jon Smith worked: ” ); // prompt for user input hours = input.nextDouble();
System.out.println(“Enter the number of overtime hours Jon Smith worked: “); // prompt for user input overtime = input.nextDouble();
System.out.println(“Enter the payrate of John Smith: “); // prompt for user input
pay = input.nextDouble();
xx (xxxxxxxx == 0) {
xxxxxx.xxx.xxxxxx(“xxxxx xxx xxx xxxx xxxx xxxxx xx: $%.2xx”, xxxxx * xxx);
} xxxx {
xxxxxx.xxx.xxxxxx(“xxxxx xxx xxx xxxx xxxx xxxxx xx: $%.2xx”, (xxxxx * xxx) + (xxxxxxxx * (xxx * 1.5)));
Price: $19
You May Also Like:
CSIS 212 Programming Assignment 1 Create Five Programs
CSIS 212 Programming Assignment 3 Bar Chart Printing Program
CSIS 212 Programming Assignment 4 Multiples Circle Area Computer-Assisted Instruction
CSIS 212 Programming Assignment 5 Variable-Length Argument List Dice Rolling
CSIS 212 Programming Assignment 6 Date Class
CSIS 212 Programming Assignment 7 Rectangle Class
CSIS 212 Programming Assignment 8 Payroll Modification

Reviews

There are no reviews yet.

Only logged in customers who have purchased this product may leave a review.