|
|
Java Student Project |
||
|
|||
| TimeWorked | |||
|
|
|
||
| Ability Level: | Beginner | ||
|
|
|
||
| Estimated Time: | 40 minutes | ||
|
|
|
||
| Objectives: |
|
||
|
|
|
||
| Materials & Resources: |
|
||
|
|
|
||
| Overview: | Write
a program that declares a minutes variable which will be the
identifier for the minutes worked on a job. Assign a value ( 256
) to this variable. Use the modulus operator to calculate the the
hours and minutes. Display the value in hours and minutes such
as 4 hours and 29 minutes. Display
explanatory text with the values. |
||
|
|
|
||
| Instructions: |
|
||
|
|
|
||
| Hints: | Some
important points to keep in mind in
doing this project:
|
||
|
|
|||