Hot answers tagged

1 vote

CS 50 Pset 1 cash: non-void function does not return a value

You've created 5 functions that each is required to return an int value, yet there's not a single return statement anywhere. That won't get past the cs50 compilers. The code needs to be changed to ...
user avatar
  • 63.1k

Only top scored, non community-wiki answers of a minimum length are eligible