Advertisement
Guest User

LOL NIGGER

a guest
Sep 17th, 2014
255
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.24 KB | None | 0 0
  1. package com.hfreni.Homework;
  2.  
  3. public class Problem5_ComputeExpression
  4. {
  5.     public static void main(String[] args)
  6.     {
  7.         double top = 9.5 * 4.5 - 2.5 * 3;
  8.         double bottom = 45.5 - 3.5;
  9.        
  10.         System.out.println("The answer is: " + top / bottom);
  11.     }
  12. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement