First, let's declare that the average of the two integers would be 22.5. Using this, we are going to try and find two consecutive integers that have an average of 22.5. We can start to work outward from this average and see what integers work.
Instantly, we can test the integers 22 and 23. They have an average of 22.5 and sum to 45. Thus, they are our answer.