.NET program


SUBMITTED BY: SahilsinhRana

DATE: June 24, 2016, 5:20 a.m.

FORMAT: Text only

SIZE: 409 Bytes

HITS: 386

  1. Imports System.Console
  2. Module demoadition
  3. Sub Main()
  4. Dim a, b As Integer
  5. WriteLine("enter a")
  6. a = ReadLine()
  7. WriteLine("enter b")
  8. b = ReadLine()
  9. WriteLine("Addition:" & a + b)
  10. WriteLine("Subtraction:" & a - b)
  11. WriteLine("multiplication:" & a * b)
  12. WriteLine("division:" & a / b)
  13. Read()
  14. End Sub
  15. End Module

comments powered by Disqus