Plagiarism Defense for the written code - Assignment: Assignment #2 Violations: Collaborating on any assignment with another person without the permission of the instructor. Facilitating or aiding in...

1 answer below »
Plagiarism Defense for the written code -

Assignment:

Assignment #2



Violations:

Collaborating on any assignment with another person without the permission of the instructor.

Facilitating or aiding in any act of academic dishonesty.

Knowingly assisting on any form of academic misconduct.

Purchasing material of any kind and representing it as one's own work.

Replicating another person's work and submitting it as an original work.

Stealing, buying, receiving, selling or transmitting coursework of any kind.



Sanction:

100% Reduction on assignment


Uploaded Documents:
























SalaryCalculator Christopher Powell.java
2 KB


11-23-2020 1:49 AMstudent's java code



Cheating Ref Doc for Fall D- Salary (week 2).txt
3 KB


11-23-2020 1:49 AMThis is just one example that supports that this is not the student's original work.
After reviewing all your comments, I am not able to reconcile my concerns. In a situation like this, I am compelled to enter an academic integrity report. What I see is a programming solution that is not unique. Regardless of whether 1 or 20 people write the program, everyone should produce unique code. When this doesn’t happen, it’s cause for concern.


// This Script is designed to compute the salary of three employees and their overtime // pay. //CSIS 212- // ************** import java.util.Scanner; public class Salary1 { public static void main(String[] args) { System.out.println("L** Atk*** - Assignment #2\n"); Scanner input = new Scanner(System.in); double hours; // number of hours worked input double pay; // rate of hourly wage input double overtime; // used to calculate overtime // First input is for employee #1 System.out.print("Enter the regular hours Leslie Atkinson worked: " ); hours = input.nextDouble(); System.out.print("Enter the overtime hours Leslie Atkinson worked: "); overtime = input.nextDouble(); System.out.print("Enter the payrate of Leslie Atkinson: "); pay = input.nextDouble(); if (overtime == 0) { System.out.printf("Gross pay for Leslie Atkinson is: $%.2f\n", hours * pay); } else { System.out.printf("Gross pay for Leslie Atkinson is: $%.2f\n", (hours * pay) + (overtime * (pay * 1.5))); } // Second input is for employee #2 System.out.print("Enter the regular hours Jeremy Knowles worked: "); hours = input.nextDouble(); System.out.print("Enter the overtime hours Jeremy Knowles worked: "); overtime = input.nextDouble(); System.out.print("Enter the payrate of Jeremy Knowles: "); pay = input.nextDouble(); if (overtime == 0) { System.out.printf("Gross pay for Jeremy Knowles is: $%.2f\n", hours * pay); } else { System.out.printf("Gross pay for Jeremy Knowles is: $%.2f\n", (hours * pay) + (overtime * (pay * 1.5))); } // Third input is for employee #3 System.out.print( "Enter the regular hours Chad Davis worked: " ); hours = input.nextDouble(); System.out.print("Enter the overtime hours Chad Davis worked: "); overtime = input.nextDouble(); System.out.print("Enter the payrate of Chad Davis: "); pay = input.nextDouble(); if (overtime == 0) { System.out.printf("Gross pay for Chad Davis is: $%.2f\n", hours * pay); } else { System.out.printf("Gross pay for Chad Davis is: $%.2f\n", (hours * pay) + (overtime * (pay * 1.5))); } } }
Answered Same DayNov 23, 2021

Answer To: Plagiarism Defense for the written code - Assignment: Assignment #2 Violations: Collaborating on any...

Mohd answered on Nov 26 2021
153 Votes
Solution/Employee.java
Solution/Employee.java
public class Employee {
    private String empName;

    private double regularHours;
    private double overtimeHours;
    private double payRate;

    public Employee(String empName, double regularHours, double overtimeHours, double payRate) {
        super();
        this.empName = empName;
        this.regularHours = regularHours;
        this.overtimeHours = overtimeHours;
        this.payRate = payRate;
    }
    public String getEmpName() {
        return empName;
    }
    public double getRegularHours() {
        return regularHours;
    }
    public double getOvertimeHours() {
        return overtimeHours;
    }

    public double getPayRate()  {
        return payRate;
    }

}
Solution/SalaryCalculator.java
Solution/SalaryCalculator.java
import java.io.DataInput...
SOLUTION.PDF

Answer To This Question Is Available To Download

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here