#include using namespace std; // procedures used to print three heads void PartedHair() // prints a "parted hair" scalp { cout << " |||||||///////// " << endl; } void Hair() // prints a "straight-up" or "frightened" scalp { cout << " |||||||||||||||| " << endl; } void Sides() // prints sides of a head -- other functions should use distance // between sides of head here as guide in creating head parts (e.g., eyes) { cout << " | | " << endl; } void Eyes() // prints eyes of a head (corresponding to distance in Sides) { cout << " | o o | " << endl; } void Ears() // prints ears (corresponding to distance in Sides) { cout << " _| |_ " << endl; cout << "|_ _|" << endl; } void Smile() // prints smile (corresponding to distance in Sides) { cout << " | |______| | " << endl; } void head() // prints one head { // Hair(); PartedHair(); Sides(); Eyes(); Ears(); Smile(); Sides(); } int main() { head(); head(); head(); head(); head(); cout << endl; return 0; }