Write a program to computer the value of 1500+1000-450*10+300
Module Module1
Sub Main()
Dim result As Double = 1500 + 1000 - 450 * 10 + 300
Console.WriteLine("1500+1000-450*10+300 = {0}", result)
Console.ReadLine()
End Sub
End Module
Output:
Comments
Leave a comment