{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

Work - System.out.println"hoursWorked" hours...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
public class Work { public static void main(String[]args) { String name = "Jamel Jenkins"; double hours = 40; d int hoursWorked = 40; int Pay = 11; int calulatedSalary; calulatedSalary = (hoursWorked * Pay); c System.out.println("My name is " +name);
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: System.out.println("hoursWorked:" +hours); System.out.println("rate of Pay:" +Pay); System.out.println("My weekly salary is $" +calulatedSalary); }}...
View Full Document

{[ snackBarMessage ]}