For the homework, you need to do the three things listed on the syllabus:
"If a patient is older than 18 and weighs less than 40, or if a patient is younger than 5 and weighs less than 15, print "Measure the arm". "
Write a processing "sketch" that accomplishes the above problem by looking at an age and weight variable and printing out the correct result.
The following pages can help:
Integers and Floats
If
Else
Greater Than
Less Than
Println (print line)
Exporting
Copyright Mike Edwards 2006-2009. All content available under the Creative Commons Attribution ShareAlike license, unless otherwise noted.