- 1
The program accepts unique integers x y and z as input.The program must swap the largest and second largest integers and print
Input 23 14 56 output 56 14 23
4 Respostas
+ 9
Hello Padmapriya Ravichandran !!
Please show your attempt first. We will help you if you stop anywhere in between
+ 1
But only the position of first largest and second largest should change..if I sort I will happen to change their original location