Answer:
the greatest integer is 32.
Explanation:
Let the integers be x and y.
The sum of these integers is 42. Hence, the equation is
x + y = 42....(i)
Now, the difference is 22. Hence, second equation is
x - y = 22 ....(ii)
Add (i) and (ii)
2x = 64
Divide both sides by 2
x = 32
Plugging this value of x in (i)
32 + y = 42
y = 42 - 32
y = 10
Therefore, the greatest integer is 32.