Problem was due to a really case sensitive checker. Thanks for help. And sorry for posting the whole code.

check50 output

1 Answer 1


instead of

  printf("%d \n",cashier(cash));

do this instead


also for next time do not post your entire code for the public to seee

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .