fork download
  1. using System;
  2.  
  3. public class Test
  4. {
  5. public static void Main()
  6. {
  7. double a;
  8. double b;
  9. double hilf = 0 ;
  10.  
  11. a = double.Parse(Console.ReadLine());
  12. b = double.Parse(Console.ReadLine());
  13. Console.WriteLine("a b hilf");
  14. Console.WriteLine("{0} {1} {2}", a, b, hilf);
  15. hilf = a;
  16. Console.WriteLine("{0} {1} {2}", a, b, hilf);
  17. a = b;
  18. Console.WriteLine("{0} {1} {2}", a, b, hilf);
  19. b = hilf;
  20. Console.WriteLine("{0} {1} {2}", a, b, hilf);
  21.  
  22. }
  23. }
Success #stdin #stdout 0.05s 24040KB
stdin
3
5
stdout
a b  hilf
3 5   0
3 5   3
5 5   3
5 3   3