Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public static void main(String[] args)
- {
- // separates the hours line from the minutes line.
- System.out.println("Line 1\nLine 2 ");
- // shows how many minutes there are on the job.
- int minutes = 60;
- System.out.print(" minutes on a job ");
- System.out.println(minutes);
- // shows how many hours were worked on the job.
- int hours = (minutes / 60);
- System.out.print(" hours on a job ");
- System.out.println(hours);
- }
- }
Add Comment
Please, Sign In to add comment