Traditional Culture Encyclopedia - Travel guide - A, B, and C are traveling together

A, B, and C are traveling together

The money spent by A is regarded as 10 shares, the money spent by B is 9 shares, the money spent by C is 3×2/3=6 shares, ***10+9+6=25 shares, C pays 35 Yuan is equivalent to 25/3-6=7/3 shares, so each share is 35÷7/3=15 yuan, A deserves 15×(10-25/3)=25 yuan, B deserves 15×(9- 25/3)=10 yuan