Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import java.util.Scanner;
- public class Change_Machine {
- double cost;
- double paid;
- Scanner scan = new Scanner (System.in);
- cost = scan.nextDouble();
- paid = scan.nextDouble();
- public static void main(String[] args) {
- // TODO Auto-generated method stub
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement