Tuesday, August 9, 2011

Chapter 4, exercise 9

9.  Write an if statement that determines whether someone is legally an adult (age 21), but not a senior citizen (age 65).

if ( age>=21 && age<65 )

No comments:

Post a Comment