I wrote the code write. Its working fine for all the cases. I even considered negative values for the question and i am getting the desired result. Yet i got 0.
Can you please help me out with it.
I wrote the code write. Its working fine for all the cases. I even considered negative values for the question and i am getting the desired result. Yet i got 0.
Can you please help me out with it.
hi @ayushkotwar2002_78a27ac2b05189a5
all the cout statements u are printing are not expected in o/p…
cout<<"Enter the 1st number: ";
" is the largest."<<endl;
remove all these kind of statements and simply print the ans…
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.