Mr and Mrs Smith take their two children to the cinema. The total cost is £33. Mr Jones takes his three children to the cinema and the total cost is £27.50. Calculate the price of a child's ticket and ...
//a mod x = b ; 0 = (b-a) mod x ; 0 = b mod x - a mod x ;(b-a)mod x=0 ; |b-a| should be divisible by that x greater than b.