Advertisement
bstobbe

Change Machine

Sep 19th, 2017
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.28 KB | None | 0 0
  1. import java.util.Scanner;
  2.  
  3. public class Change_Machine {
  4.     double cost;
  5.     double paid;
  6.    
  7.     Scanner scan = new Scanner (System.in);
  8.     cost = scan.nextDouble();
  9.     paid = scan.nextDouble();
  10.     public static void main(String[] args) {
  11.         // TODO Auto-generated method stub
  12.  
  13.     }
  14.  
  15. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement