stefan1919

decibelSound

Sep 29th, 2015
164
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Dim input As Double
  2.         input = CDbl(TextBox1.Text)
  3.         If input <= 50 Then
  4.             TextBox2.Text = "quiet"
  5.         End If
  6.         If input > 50 And input <= 90 Then
  7.             TextBox2.Text = "annoying"
  8.         End If
  9.         If input > 90 And input < 110 Then
  10.             TextBox2.Text = "very annoying"
  11.         End If
  12.         If input < 0 Then
  13.             TextBox2.Text = "Incorrect Input"
  14.         End If
Advertisement
Add Comment
Please, Sign In to add comment