+ 2

Choose 7 and then insert some random 3 numbers. For some reason there is random number at the end.Why?

https://code.sololearn.com/cZAQwMBS3Z7I/?ref=app

18th Oct 2017, 8:54 AM
Kurogami
Kurogami - avatar
2 odpowiedzi
+ 3
You typed cout << delta(x,y,z); and delta has int as return type but delta never returns anything so it just returns whatever and then prints that.
18th Oct 2017, 9:19 AM
Dennis
Dennis - avatar
0
Thanks Dennis. I fixed it now.
18th Oct 2017, 9:49 AM
Kurogami
Kurogami - avatar