New answers tagged

1 vote
Accepted

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
1 vote
Accepted

check50 issue on Problem Set 1: cash

It pays to read this if you missed it. It explains why your program will not compile.
user avatar
  • 18.3k
0 votes

Why does "compiles" fail when checking with check50?

Kzidane's contribution is excellent, in fact it helped me a lot too.
user avatar

Top 50 recent answers are included