Final answer:
Sandeep buys 12 roses.
Step-by-step explanation:
Sandeep buys 6 carnations at 220 rupees each, which costs him a total of 6 x 220 = 1320 rupees.
He has 5000 rupees in total, and he should receive 140 rupees as change.
The amount of money spent on roses can be calculated by subtracting the amount spent on carnations and the change he received from his total budget: 5000 - 1320 - 140 = 3540 rupees.
Since roses cost 295 rupees each, we can divide the amount spent on roses by the cost of each rose to find the number of roses Sandeep buys: 3540 / 295 = 12 roses.
Therefore, Sandeep buys 12 roses.