Guest User

Christmas sale

a guest
Dec 20th, 2018
219
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.50 KB | None | 0 0
  1. import java.util.*;
  2.  
  3. public class App {
  4.  
  5.     static int gamesCount(int r, int d, int m, int n) {
  6.         // Return the number of games you can buy
  7.         return 0;
  8.     }
  9.  
  10.     public static void main(String[] args) {
  11.         Scanner in = new Scanner(System.in);
  12.         int r = in.nextInt();
  13.         int d = in.nextInt();
  14.         int m = in.nextInt();
  15.         int n = in.nextInt();
  16.         int gamesCount = gamesCount(r, d, m, n);
  17.         System.out.println(gamesCount);
  18.         in.close();
  19.     }
  20. }
Advertisement
Add Comment
Please, Sign In to add comment