My output is coming out to be 1 and 0 instead of true and false and therefore my answer is wrong. How to correct it?
Sorted Array Problem
Print it in the form of strings. Change line 18 and 19 to:
cout<<“true”<<endl;
else cout<<“false”<<endl;
My output is coming out to be 1 and 0 instead of true and false and therefore my answer is wrong. How to correct it?
Print it in the form of strings. Change line 18 and 19 to:
cout<<“true”<<endl;
else cout<<“false”<<endl;