home *** CD-ROM | disk | FTP | other *** search
/ C by Discovery (4th Edition) / C_By_Discovery_4th_Edition.tar / C_By_Discovery_4th_Edition / CH_02 / 080.jpg < prev    next >
Joint Photographic Experts Group Image  |  2014-01-09  |  549KB  |  2550x3300
Labels: book | booth | crt screen | monitor | poster | reckoner
OCR: 80 Chapter 2 Gaining Control else else statement, In this case, when expressi ionl is false, else stat tement i8 executed; if both express ionl and expressi ion2 are true statement 1s executed; express in ioni Example 2-8 true has and this expressi type of on2 structure false The nothing program executed illustrates The simple pro gram C011T check on input Code like this might be included as part of a larger program in which execution would continue once the input was validated Example 2-8 errorchk.c errorchk.c Synopsis Prompts for and accepts input of an integer The integer to sec that meets the stated criteri doesn error message ssued all crite are met, execut ior termi inates sil ent Obiective Illustrates the necessary grouping of if and assoc ated else statements Include Files #inc] ud ...