txtHours.Text = intHours
‘Computes the number of hours it will take until the body has 65mg or less of caffeine.
intCaffeineTemp = intCaffeine
intHours = 0
‘resets variables to prepare for the next computation.
txtDayone.Text = intCaffeineTemp
‘Computes the amount of caffeine in the body 24 hours after consumption.
intCaffeineTemp = intCaffeine
intHours = 0
‘resets variables to prepare for the next computation.