Three friends working together earned Rs. 375. This amount is divided among them in such a way that if Rs. 4, Rs. 5, Rs. 6 is subtracted from their respective shares then the remainders will be in the ratio 3 : 4 : 5. Design an algorithm to calculate their individual shares
Answers
Answered by
0
Hi,
Total money earned by three friends = Rs375--( 1 )
If Rs 375 is divided among them in such a way
that if Rs 4 , Rs 5 , Rs 6 is subteacted from their
respective shares then the reainders will be in
the ratio 3 : 4 : 5
Let ratio of individual shares are
3x + 4 : 4x + 5: 5x + 6
But from ( 1 )
3x + 4 + 4x + 5 + 5x + 6 = 375
12x + 15 = 375
12x = 375 - 15
12x = 360
x = 360 / 12
x = 30
Therefore,
Three friends shares are
3x + 4 , 4x + 5 , 5x + 6
3×30 + 4 , 4×30 + 5 , 5× 30 + 6
94 , 125, 156
Rs 94 , Rs 125 and Rs 156
I hope this helps you.
:)
Total money earned by three friends = Rs375--( 1 )
If Rs 375 is divided among them in such a way
that if Rs 4 , Rs 5 , Rs 6 is subteacted from their
respective shares then the reainders will be in
the ratio 3 : 4 : 5
Let ratio of individual shares are
3x + 4 : 4x + 5: 5x + 6
But from ( 1 )
3x + 4 + 4x + 5 + 5x + 6 = 375
12x + 15 = 375
12x = 375 - 15
12x = 360
x = 360 / 12
x = 30
Therefore,
Three friends shares are
3x + 4 , 4x + 5 , 5x + 6
3×30 + 4 , 4×30 + 5 , 5× 30 + 6
94 , 125, 156
Rs 94 , Rs 125 and Rs 156
I hope this helps you.
:)
Similar questions