Examples
void ice_cream_division(int number, double total_weight );
// outputs instructions for dividing total_weight ounces
// of ice cream among number customers
// if number is 0 nothing is done
//Definition uses iostream:
void ice_cream_division(int number, double total_weight )
portion = total_weight/number;
cout.setf(ios::showpoint);
cout << “Each one receives “
<< portion << " ounces of ice cream.” << endl;