fork download
  1. Imports System
  2.  
  3. Public Class Test
  4. Public Shared Sub Main()
  5. Dim A,B,C as integer
  6. Console.Write("Digite número:")
  7. A=Convert.ToInt32(Console.ReadLine())
  8. Console.Write("Digite número:")
  9. B=Convert.ToInt32(Console.ReadLine())
  10. Console.Write("Digite número:")
  11. C=Convert.ToInt32(Console.ReadLine())
  12. IF (B>A and B>C)
  13. Mayor=B
  14. Console.WriteLine("B")
  15. Else
  16. Mayor=C
  17. Console.WriteLine("C")
  18. Else
  19. End If
  20. End Sub
  21.  
  22. End Class
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
Visual Basic.Net Compiler version 0.0.0.5914 (Mono 2.4.2 - r)
Copyright (C) 2004-2008 Rolf Bjarne Kvinge. All rights reserved.


/home/B2vzPy/prog.vb (19,1) : Error VBNC90019: Expected 'End'.
/home/B2vzPy/prog.vb (19,1) : Error VBNC90019: Expected 'End'.
Error recovery not implemented yet.
/home/B2vzPy/prog.vb (19,1) : Error VBNC30205: Expected end of statement.
Error recovery not implemented yet.
/home/B2vzPy/prog.vb (19,1) : Error VBNC90019: Expected 'End'.
Error recovery not implemented yet.
/home/B2vzPy/prog.vb (19,1) : Error VBNC30205: Expected end of statement.
Error recovery not implemented yet.
/home/B2vzPy/prog.vb (19,1) : Error VBNC30203: Not valid as identifier.
/home/B2vzPy/prog.vb (19,11) : Error VBNC30203: Not valid as identifier.
/home/B2vzPy/prog.vb (20,12) : Error VBNC30203: Not valid as identifier.
/home/B2vzPy/prog.vb (22,11) : Error VBNC30203: Not valid as identifier.
There were 9 errors and 0 warnings.
Compilation took 00:00:00.6856890
stdout
Standard output is empty