+0  
 
0
416
1
avatar

If \(0.8= \frac{y}{186+x}\), find the smallest value of x, if x and y are positive integers.

 Sep 29, 2020
 #1
avatar
0

a=1; b=1;d=b / (a+186); if(d==0.8, goto4, goto5);printa, b; a++;if(a<1000, goto2, 0);a=1;b++;if(b<1000, goto2, discard=0; 

 

OUTPUT: x = 4    and    y = 152

 Sep 29, 2020

2 Online Users