If x= 50.7,y=25.3 and z is defined as integer z, calculate z=x+y?
Expert's answer
Module Module1
Sub Main()
'x= 50.7,y=25.3 and z is defined as integer z, calculate z=x+yConst x AsDouble = 50.7Const y AsDouble = 25.3Dim sum AsInteger = x + y
Console.WriteLine("z = x + y = {0} + {1} = {2}", x, y, sum)
Console.ReadLine()
EndSubEndModule
"assignmentexpert.com" is professional group of people in Math subjects! They did assignments in very high level of mathematical modelling in the best quality. Thanks a lot