fork download
  1. Imports System
  2.  
  3. Public Class Test
  4. Public Shared Sub Main()
  5. dim x,y,q,N as integer
  6. console.writeline("Введите число(n>7)")
  7. n=console.readline
  8. if n mod 5<>0 and n mod 3<>0 then
  9. console.whriteline("Целых значений нет")
  10. if n mod 5 = 0 then
  11. y=n\5
  12. x=0
  13. console.writeline("x=" & x & "y=" & y)
  14. if n mod 3 = 0 then
  15. x=n\3
  16. y=0
  17. console.writeline("x=" & x & "y=" & y)
  18. console.readkey
  19. End Sub
  20. 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.5943 (Mono 4.0.1 - tarball)
Copyright (C) 2004-2010 Rolf Bjarne Kvinge. All rights reserved.

/home/T2MBcq/prog.vb (19,9) : error VBNC90019: Expected 'If'.
/home/T2MBcq/prog.vb (19,9) : error VBNC90019: Expected 'End'.
/home/T2MBcq/prog.vb (19,9) : error VBNC90019: Expected 'End'.
/home/T2MBcq/prog.vb (19,9) : error VBNC90019: Expected 'End'.
There were 4 errors and 0 warnings.
Compilation took 00:00:00.9292980
stdout
Standard output is empty