Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Dim diam As Double
- diam = Double.Parse(TextBox1.Text)
- '(diameter/2 ^2*3.14)/14.125
- Dim areaOfSlice As Double
- areaOfSlice = ((diam / 2) ^ 2 * 3.14)
- Dim derp As Double = 14.25
- areaOfSlice = areaOfSlice / derp
- TextBox2.Text = areaOfSlice.ToString()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement