fork(1) download
  1. using System;
  2.  
  3. public class Test
  4. {
  5. public static void Main()
  6. {
  7.  
  8. int A;
  9. int B;
  10. int temp;
  11.  
  12. A = int.Parse(Console.ReadLine());
  13. B = int.Parse(Console.ReadLine());
  14.  
  15. Console.WriteLine(A);
  16. Console.WriteLine(B);
  17.  
  18. temp = A;
  19. A = B;
  20. B = temp;
  21.  
  22. Console.WriteLine(A);
  23. Console.WriteLine(B);
  24.  
  25.  
  26. // your code goes here
  27. }
  28. }
Success #stdin #stdout 0.05s 23872KB
stdin
5
9
stdout
5
9
9
5