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