Reference no: EM1334926
Program (code.c) & (codev2.c) to convert Fahrenheit to Celsius. Simplistic, DOS based so that I may digest and learn.
Program 1: Ask the user to input a Fahrenheit temperature, as a decimal number. Make clear what the user should enter, for example, "enter a whole number" or "please use the format xxx.xx.". Get the temperature from the user as a float. Calc, convert the temperature to Centigrade. Finally, display the two temperatures. Remember to format floats. The client offered that the algorithm for conversion is, "Centigrade is 5/9ths Fahrenheit minus 32". Results are rounded down (the remainder is ignored).
Program 2: Implements a switch: Offer the user three choices, obtains the choice and display an action based on that choice. One of the actions will include an if..else. Also include a default for incorrect choices.
Layout the planned structure and steps to accomplish the individual programs. Ensure brief, accurate and complete detailed instructions in the form of pseudocode, not code. Construct two brief explanations for the pseudocode. Provide both programs, pseudocode, and code (code in editable text).