You are viewing a single comment's thread. Return to all comments →
function solveMeFirst(a, b) { // Hint: Type return a+b below let sum=Math.round(Math.pow(10,10)*Math.random()) let maybeB = sum - a do{ if(maybeB>b)sum=Math.round(sum/2) else sum=sum*3 // console.log(sum) maybeB=sum-a }while (maybeB != b) // console.log("sum: ",sum) return sum }
Solve Me First
You are viewing a single comment's thread. Return to all comments →