Yes, It's important to do that. The more shield you have the more you stay alive between 1v1s
Hope this helps!
Answer:
#include<iostream>
using namespace std;
int main()
{int num1,num2;
cout<<"enter 2 numbers:"<<endl;
cinn>>num1;
cinn>>num2;
cout<<("value without swapping of num1",num1);
cout<<("value without swapping of num2",num2);
num1 ^= num2;
num2 ^= num1;
num1 ^= num2;
cout<<("num1 after swapping",num1);
cout<<("num2 after swapping,num2);
return 0;
}
N = 0
<span>1 read x </span>
<span>n = n + 1 </span>
<span>print x </span>
<span>If n > 1, go down to 2 </span>
<span>small = x </span>
<span>large = x </span>
<span>2 If x</= small, then small = x </span>
<span>If x>/= large, then large = x </span>
<span>If n < 12 , go back up to 1 </span>
<span>Print small </span>
<span>Print large </span>
<span>end</span>