we can write the situation mathematically like follows:
[tex]n+(n+1)+(n+2)=-138[/tex]where n is the smallest integer and n+2 is the greatest, let's find first the smallest to find the greatest then.
[tex]n+(n+1)+(n+2)=3n+3[/tex]then
[tex]3n+3=-138[/tex][tex]3n=-141[/tex][tex]n=-\frac{141}{3}=-47[/tex]then the smallest integer will be n=-47 and the greatest will be n+2=-47+2=-45 then the final answe is -45.