You are required to calculate and display the fee for a bus passenger. The fee for an adult is RM15.00 and a child is RM8.00 each. However, an adult 50 years old and above will get 10% discount from the adult fee. The bus provides 20 seats for adults, 7 seats for adult above 50 years old and 13 seats for children.
Answer to : Question 12881