Work - System.out.println"hoursWorked" hours System.out.println"rate of Pay" Pay System.out.println"My weekly salary is

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

This note was uploaded on 10/04/2010 for the course COMPUTER S 106 taught by Professor Moore during the Spring '08 term at Clark Atlanta.

Ask a homework question - tutors are online