Assume that children is an integer variable containing the number of children in a community and that families is an integer variable containing the number of families in the same community.  Write an expression whose value is the average number of children per family.

Assume that children is an integer variable containing the number of children in a community and that families is an integer variable containing the number of families in the same community.  Write an expression whose value is the average number of children per family.

LANGUAGE: Visual Basic

CHALLENGE:

Assume that children is an integer variable containing the number of children in a community and that families is an integer variable containing the number of families in the same community.  

Write an expression whose value is the average number of children per family.

SOLUTION:

children / families


Add comment