Guest User

Untitled

a guest
Nov 23rd, 2017
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.44 KB | None | 0 0
  1. public static void main(String[] args)
  2.     {
  3.             // separates the hours line from the minutes line.
  4.         System.out.println("Line 1\nLine 2 ");
  5.     // shows how many minutes there are on the job.
  6.         int minutes = 60;
  7.         System.out.print(" minutes on a job ");
  8.         System.out.println(minutes);
  9.     // shows how many hours were worked on the job.
  10.         int hours = (minutes / 60);
  11.         System.out.print(" hours on a job ");
  12.         System.out.println(hours);       
  13.         }
  14. }
Add Comment
Please, Sign In to add comment