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
Good work Shaun.
ReplyDeleteJust a couple of picky things. Your constants should be in captials and when you need to display user feedback remember to explain how, eg textbox, message box, label. Also remember to include a testing plan of how you are going to test things. There are three things you should get into the habit of testing for: expected output (what should happen), boundary and exceptions(formats etc).
Keep up the good work Shaun, still looking forward to seeing your pinball code too.