Design, create, and test a program which converts degrees Fahrenheit to degrees Centigrade (Celsius)
Design, create, and test a program which converts degrees Fahrenheit to degrees Centigrade (Celsius). The program must contain one main program and 3 functions: F2C() and C2F() and instructions(). The user will be asked to enter a numeric code to determine the operation. If the input code = 1, then convert F to C, if the code = 2, then convert C to F, if the input code = 3, then display instructions, and if the code = 4, then quit. The program should be in a "loop" that repeatedly performs conversions until the user quits, then the program stops. Display the instructions one time when the program starts (or whenever the user enters code = 3). Keep inputs and outputs (except for instructions) in the main program. Use F2C() and C2F() to perform conversion only.
Paper#67661 | Written in 18-Jul-2015Price : $22