Teacher i have written the code and it was again and again showing that it was wrong. I have checked it in another ide as well and it was working absolutely fine. But here i was not even able to submit it.
you can submit code
but problem is your code doesn’t pass testcases (means giving wrong output)
Don’t print unnecessary statements like
cout << "Enter the value of all three number: ";
after removing line your code gives correct output