You are viewing a single comment's thread. Return to all comments →
SIMPLEST SOLUTION ->>>>>>>>>No headache!
long andProduct(long a, long b) {
long c=a; for(long i=a+1;i<=b;i++) c=c&i; return c;
}
AND Product
You are viewing a single comment's thread. Return to all comments →
SIMPLEST SOLUTION ->>>>>>>>>No headache!
long andProduct(long a, long b) {
}