/* Program 1.10 */ /* functions with parameters */ /* second example */ /* Used header files */ /* header files */ #include #include /* declaration of used functions */ void press_key(void); void asshole_attack(unsigned int how_many_assholes); /* implementation of used functions */ void press_key(void) { printf("Press any key to proceed\n"); getch(); } /*************************************************/ void assholes_attack(unsigned int how_many_assholes) { printf("Attack the player with %d assholes\n",how_many_assholes); } /* Main function - our program starts here*/ void main(void) { asshole_attack(1000); /* Show no mercy! */ asshole_attack(2000); /* We have to get rid of them somehow! */ asshole_attack(3000); /* Save us! */ press_key(); } /* our program ends here */