//a lies between 1 and 200, b lies between 1 and a.int divide(int a,int b){int x=a,y=b;int count=1;while(y<x){y+=y;count++;}return count;}
↧
Answer by Dinesh Kumar P for Implement division using only addition
↧