+ 2
Why is the C++ Even or not code returning 1?[SOLVED]
So i made a code; https://code.sololearn.com/c1VHNpSLyY5P/?ref=app When i Type 7, it should say “Not Even” but it returns 1 instead. What should i do? Edit: It’s solved.
6 Antworten
+ 2
Perfect!
it returns just what i wanted, “Not Even”
+ 1
No output.
+ 1
it returns “1”
0
int count;
0
string evenOrNot(){
0
cout << evenOrNot();