You are viewing a single comment's thread. Return to all comments →
public static int pageCount(int n, int p) { // Write your code here int fcount =p/2; int bcount =(n-p)/2; if(n%2 ==0 && n-p ==1) { bcount=1; }
if(fcount
}
Seems like cookies are disabled on this browser, please enable them to open this website
Drawing Book
You are viewing a single comment's thread. Return to all comments →
if(fcount
}