+ 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 Answers
+ 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();