Java+project+1

/** Payroll *

** @author  **  Dan __Freestone__

* */  import

java.util.Scanner;

public

** class  ** payroll {

** public  ****  static  ****  void  ** main(String[] args) {

System.

// out  //.print(  "How many hours did you work?"  );

Scanner keyboard =

** new  ** Scanner(System.//  in  //);  // User enters hours worked

** double  ** hoursWorked = keyboard.nextDouble;

System.

// out  //.print(  "What is your hourly rate?"  );

** double  ** hourlyRate = keyboard.nextDouble;  // User enters hourly rate

** double  ** pay = hoursWorked * hourlyRate;  // hourly rate and hours calculated

System.

// out  //.printf(  "You will be paid $%.2f"  ,pay);  // result calculated

} }