anyone who can fix this program its running but I need it to call isMale function correctly

Write your question here.
}


[/code]
Last edited on
This:
 
if (isMale(true)){

should be this:
 
if (isMale(gender)) {
Last edited on
Topic archived. No new replies allowed.