home *** CD-ROM | disk | FTP | other *** search
/ C by Discovery (4th Edition) / C_By_Discovery_4th_Edition.tar / C_By_Discovery_4th_Edition / CH_08 / 503.jpg < prev    next >
Joint Photographic Experts Group Image  |  2014-01-29  |  764KB  |  2550x3300
Labels: book | reckoner
OCR: Exercises and Programming Problems 503 Your program should handle the operations of addition, subtraction. terms for multipli- this cation and division. The answer does not have to be in lowest version of the program Plan your program so that it is modular Have the input done in one mod ule, the output module done in separate second source module, code and file the The calculation function ma done in in should third Put each reside in its own module and be driver program f f possible, tr write the program without using any global variables bols types Write a program that and will simulate a soft drink machine input that only Orange dispenses The Lemon, (nickel, sym- four of soft drinks. The program will accept character will stand for the drinks (Cola, and Spritzer) The symbols D' and Q wi ...