Visual Basic 2008 - Calculate The Mean. Just a simple tutorial on how to work out the average using maths in VB. Yes, I GOT WINDOWS 7!! Its really good, way better than shitty Vista!
Codes:
Dim Count As Integer = 0
Dim total As Integer = 0
Add Number:
total += CInt(TextBox1.Text)
Count += 1
Label1.Text = total & " / " & Count
TextBox1.Clear()
Calculate Average:
TextBox2.Text = total / Count
New:
Label1.Text = "0 / 0"
total = 0 : Count = 0
what the hell is up with the stupid music. geez
ventureelect 1 week ago
do you know how to find mode?
TheSantanu99 1 month ago
Voted down. maybe you should by a mic and teach us how to do it. this is crap!
x5w1tchx 2 months ago
My fucking ears! WTF IS THIS BOLLOCKS!
Fantic1980 3 months ago
@chaosblood88 at least he does some rite==
Confusions2 5 months ago
Thanks mate...
Emad103 6 months ago
@TheDeadLike Sick by Flyleaf
TemplarOfLight1 1 year ago
it was helpful thanks
elcantante2001 1 year ago
its a shame that you did it on a 'windows application' rather than say a console one.... i guess you like to do less coding.
chaosblood88 1 year ago
@Soniredoncp for the win
iamthehackerxx 1 year ago