Wednesday, May 9, 2012

9B
1 set variables
1.1 age = text box 1
1.2 temp = text box2
1.3 const child = 2
1.4 const double htemp = 39.5


2 display summery

3 Calculations after button click
3.1 bool ischild =  ( age <= child)
3.2bool fever=  (temp >= htemp)
3.3 if fever&&child = true,
{

if child = true say your child is in danger call a doctor
else you have a fever

}
3.3 else you temperature is normal 


Tuesday, May 8, 2012