JackHoughton00

P79ReviewPt1

Feb 22nd, 2017
45
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. package p79reviewpt1;
  2.  
  3. public class P79ReviewPt1 {
  4.  
  5. public static void main(String[] args) {
  6. double seg1 = 12.2;
  7. double seg2 = 10.6;
  8. double seg3 = 5.8;
  9. System.out.print(seg1+seg2+seg3);
  10.  
  11. }
  12.  
  13. }
Add Comment
Please, Sign In to add comment