New answers tagged pset1
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 ...
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.
0
votes
Why does "compiles" fail when checking with check50?
Kzidane's contribution is excellent, in fact it helped me a lot too.
Top 50 recent answers are included
Related Tags
pset1 × 1151mario × 353
greedy × 223
credit × 95
cs50x × 85
check50 × 80
cash × 75
c × 59
error × 36
mario.less × 23
cs50-pset1 × 19
water × 17
hacker1 × 16
water.c × 16
cash.c × 16
credit.c × 15
round × 14
for-loop × 13
pyramid × 13
appliance × 12
cs50-ide × 12
loop × 12
less × 12
float × 11
hello.c × 11