43
Explanation
Step 1
let x represents the first number
first number=X
as the number are consecutives, the second number would be

and the third number would be

Now, we are told the sum of the three consecutive numbers is 126,so

replace

Step 2
solve the equation

Step 3
finally, replace the x value to find the numbers

theferore, the greatest number is 43
I hope this helps you