/* * This program prompts user for to press enter to draw face * and draw smiley face to screen when enter is pressed */ #include /* function prototype */ void drawFace( void ); int main() { char cue; printf("\nPress enter key to draw face"); scanf("%c", &cue); drawFace(); return 0; } void drawFace() { printf("\n\t xxxxx" ); printf("\n\t x x" ); printf("\n\tx () () x" ); printf("\n\tx x" ); printf("\n\tx \\___/ x"); printf("\n\t x x" ); printf("\n\t xxxxx" ); printf("\n\n Have a good Day!!!\n\n\n"); }