Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import java.util.*;
- public class App {
- static int gamesCount(int r, int d, int m, int n) {
- // Return the number of games you can buy
- return 0;
- }
- public static void main(String[] args) {
- Scanner in = new Scanner(System.in);
- int r = in.nextInt();
- int d = in.nextInt();
- int m = in.nextInt();
- int n = in.nextInt();
- int gamesCount = gamesCount(r, d, m, n);
- System.out.println(gamesCount);
- in.close();
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment