fork download
  1. using System;
  2.  
  3. public class Test
  4. {
  5. public static void Main()
  6. {
  7. int Reaktionsweg;
  8. int Bremsweg;
  9. int Anhalteweg;
  10. Geschwindigkeit = int.Parse(Console.ReadLine());
  11. Reaktionsweg = (Geschwindigkeit / 10) * 3;
  12. Bremsweg = (Geschwindigkeit / 10) * (Geschwindigkeit / 10);
  13. Anhalteweg = Reaktionsweg + Bremsweg;
  14. Console.WriteLine(Anhalteweg);
  15. }
  16. }
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
50
compilation info
prog.cs(10,2): error CS0103: The name `Geschwindigkeit' does not exist in the current context
prog.cs(11,18): error CS0103: The name `Geschwindigkeit' does not exist in the current context
prog.cs(12,14): error CS0103: The name `Geschwindigkeit' does not exist in the current context
Compilation failed: 3 error(s), 0 warnings
stdout
Standard output is empty