0
Written this code the answer I want to get is zero in both values let me know,where is the mistake :)
5 Respostas
0
Dipanjan Basu See if this helps
https://code.sololearn.com/cWKB9lO7Mb70/?ref=app
0
What you are trying to do ? Why and how you want? Explain clearly..
0
I want to write a program where the user inputs 6 as one input and 4 as another I want to print both the values as 0 so in short no matter what ever the number the user inputs I want to display both the numbers as 0
0
Then why you are checking for a>b or b>a. no need of those. Just comment if and else statements..
So comment or remove 6, 8 lines...
void zero_small(int &a,int &b)
{
a=0;
b=0;
}