+0  
 
0
345
1
avatar

If a and b are positive integers such that ab = 6!, find the smallest possible value of a + b.

 Sep 21, 2020
 #1
avatar
0

a=1; b=1;d=a * b; if(d==6!, goto4, goto5);printa, b, a+b; a++;if(a<100, goto2, 0);a=1;b++;if(b<100, goto2, discard=0; 

 

OUTPUT:  a = 24  and  b = 30.......[24  +  30] =54

 Sep 21, 2020

1 Online Users

avatar