home *** CD-ROM | disk | FTP | other *** search
/ C by Discovery (4th Edition) / C_By_Discovery_4th_Edition.tar / C_By_Discovery_4th_Edition / CH_04 / 256.jpg < prev    next >
Joint Photographic Experts Group Image  |  2013-12-12  |  498KB  |  2550x3300
Labels: binder | book | crt screen | reckoner | sky | windowpane
OCR: 256 Chapter 4 Arrays and Pointers void intro( void intro() intf( DO YOU HAVE FAIR In" ); pr intf( \n\n" "tell pr pri pri intf( intf( intf( "cal "Tell lculate me me the how the many resul ts frequency times of you each the wil roll roll results and T the will die and )i void input rolls( int arrayptr, int input num rolls int printf( "Ent er the results of the rolls now In" for num; pri intf "Roll scanf "8a" &arraypt printf arrayptr[i] "sorry 11 your input arrayptr(i] must be number Note pr intf "be tween and n pri intf( "please enter the number again\n" void calcul .ate and di isplay( int "array, calculate int and num display int frequency[6] {0} int for num; fo frecuenc Note 6 for ( 0. 6 pri intf Frequency tf\n" double frequency[i]/ 'num