ClinicMind Interview Question

See [code example]. What is wrong with the function computeTotal()?