Drawing Book

  • + 0 comments
        public static int pageCount(int n, int p) {
        // Write your code here
            return Math.min(p / 2, (n / 2) - (p / 2));
    
        }