Question
Asked by:
jaevan
jaevan
Rating (2): A+
Questions Asked: 3
Tutorials Posted: 4, earned $33.00
 

$1.00 Non-GUI Based Java Application

Q:
Create a non-GUI based Java application that calculates weekly pay for an employee. The application should display text that requests the user input the name of the employee, the hourly rate, and the number of hours worked for that week. The
application should then print out the name of the employee and the weekly pay amount. In the printout, display the dollar symbol ($) to the left of the weekly pay amount and format the weekly pay amount to display currency.
 


   
   
   
   
 
Available Tutorials to this Question
Posted by:
CMBLUE
CMBLUE
Rating (17): A+
Questions Asked: 0
Tutorials Posted: 74, earned $284.70
 

$1.00 Commented and checked program

  • This tutorial was purchased 11 times and rated A by students like you.
  • Posted on Aug 02, 2008 at 4:40:41PM
A:
Preview: ... );<br> try{<br> System.out.println("Enter the name of the Employee: ");<br> name = reader.readLine();<br><br> System.out.println("Enter the employee's hourly pay: ");<br> //read the employees hourly pay and convert from String to float<br> hourlyPa ...

The full tutorial is about 95 words long plus attachments.

Attachments:
PayCalculator.java (1K) (Preview)
Posted by:
chetan2009
chetan2009
Rating (146): A
Questions Asked: 0
Tutorials Posted: 464, earned $2,832.42
 

$1.00 Compiled, Tested and self explanatory

  • This tutorial was purchased 2 times and rated A+ by students like you.
  • Posted on Aug 03, 2008 at 06:42:40PM
A:
Preview: ... n,total; <br><br> BufferedReader br = new BufferedReader(new<br> InputStreamReader(System.in));<br> <br> System.out.println("Enter employee name:");<br> empnam ...

The full tutorial is about 55 words long .
   
Join Now or Log In
Get Tutoring
Get Paid
Academic Honesty