Medium
An orange costs Rs. 7 and a watermelon costs Rs. 5. Shyam bought both fruits for Rs. 38. What is the number of oranges he bought?
Explanation
Explanation
Let the number of oranges be x and watermelons be y. Then 7x + 5y = 38. Putting x = 4: 7×4 + 5y = 38 => 28 + 5y = 38 => y = 2, which is an integer. Therefore, the number of oranges is 4.
PRO TIP
Re-check your working by substituting the answer back into the original question.