Visual Basic NET


- 4


WriteLine(PI)

WriteLine(Round(17.48))

End Sub

End Class

:

(2+1)^2 9

1+ (2+8)^3 1001

1+Abs(5-8) 4

2^4+Sqrt(35+1) 22

Sqrt (8+ Floor(41.8)) 7

21 \ (Round (2.54+1)) 5

9.

, , :

Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click

Dim a, b As Double

a = (2 ^ 2 + 1) * (20 - (2 ^ 2) ^ 2) - 11

b = Round((a + 2) / 10) * (11 \ (a - 4))

WriteLine(a ^ 2 + b - 1)

End Sub

, ((a+2)/10) , ((a+2)/10)*(11\(a-4)) ? , , (a+2).

. . , , -. . ,

y = 20 * a - Round(-2.54) + 0.01

: 20, -2.54, 0.01. , . , VB .

.