A pineapple costs Rs 7 each and a watermelon costs Rs. 5 each. If I spend Rs 38 on total what is the number of pineapple I purchased?	Choose the correct choice from the following options.
A) 2
B) 3
C) 4
D) 5
E) Data Inadequete
Explanation:   The equation for this problem can be made as:   5x + 7y =38   Where x is the number of watermelons and y is the number of pineapples.   Now test for 2, 3 and 4:   For y = 2   5x + 14 =38   x is not an integer   For y = 3   5x = 17   X not an integer   For y =4   X = 2   So 4 pineapples and 2 watermelons can be bought by 38 Rs.   ANSWData InadequeteR Data Inadequete
<result>E</result>
A pineapple costs Rs 7 each and a watermelon costs Rs. 5 each. If I spend Rs 38 on total what is the number of pineapple I purchased?