Calculate Money Paid to Each Worker

A carpenter is paid a contract fee of $2000.00 for 3 days work. He hires 3 workers who work for the 3 days at $75.00 a day: calculate and print the amount of money paid to each worker; the total paid to all workers and the amount the carpenter is left with.

Showing Answers 1 - 3 of 3 Answers

avinash

  • Apr 21st, 2016
 

paid to each worker - $235 ; the total payment is $705 ; and left - $1295

  Was this answer useful?  Yes

mssodhi

  • May 19th, 2016
 

$75/day. (3 days * $75) = $225. ($225 * 3 workers) = $675. $2000 - $675 = $1325 left for the carpenter

  Was this answer useful?  Yes

asd

  • May 17th, 2017
 

Public class Test4 {
public static void main(String[] args) {


double contract;
String days;
int worker;
double dailypaid;
double Total;
double profit;

@SuppressWarnings("resource")
Scanner sc = new Scanner(System.in);

System.out.println("Enter contract amount: ");
contract = sc.nextDouble();

System.out.println("Enter how many days work will run: ");
days=sc.next();


System.out.println("How many person needed for work: ");
worker = sc.nextInt();

System.out.println("Enter the daily wage has to paid to worker: ");
dailypaid = sc.nextDouble();

Total = worker * dailypaid;

System.out.println("Total amount paid to worker are: " + Total );

profit=Total - contract;

System.out.println("Remaining Profit to Carpenter= "+ profit);

}
}

Code
  1. span style="color: #0000ff;">"resource""Enter contract amount: ""Enter how many days work will run: ""How many person needed for work: ""Enter the daily wage has to paid to worker: ""Total amount paid to worker are: ""Remaining Profit to Carpenter= "+ profit);

  2.                

  3.         }

  4.  

  5. }

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions