Run Code  | API  | Code Wall  | Users  | Misc  | Feedback  | Login  | Theme  | Privacy  | Patreon 

Assignment-2a

Language: Layout:
- ] Show input
Absolute running time: 0.16 sec, cpu time: 0.03 sec, memory peak: 8 Mb, absolute service time: 0,33 sec 
edit mode |  history  | discussion
Enter the number 
Enter the number 
After swapping using 3rd variable,
a =  6 b =  5
Again swapping without using 3rd variable,
a =  5 b =  6