i am trying to display weight base on a age input without using a table vb.net. Say a age can be anyware from 1 to 18 yrs and weight at 1 = 11kg with a avg increase of 3kg per year. I thought of using a for loop but not sure how to connect that to the age.:-/

what method could best solve this in vb.net any suggestions?

Dim iAge, iWeight As Integer
iAge = Val(TextBox1.Text)
iWeight = ((iAge - 1) * 3) + 11


Samir Ibrahim