notice that this describes one of many possible programs that could solve this problem if susan had background in the field of artificial intelligence (ai)she might consider writing program that would actually listen to the radio announcer to get the current temperature using speech recognition algorithms for outputshe might have the computer control robot that goes to her closet and picks an appropriate outfit based on the converted temperature this would be much more ambitious projectto say the leastcertainlythe robot program would also solve the problem identified in the problem analysis the purpose of specification is to decide exactly what this particular program will do to solve problem susan knows better than to just dive in and start writing program without first having clear idea of what she is trying to build susan is now ready to design an algorithm for her problem she immediately realizes that this is simple algorithm that follows standard patterninputprocessoutput (ipoher program will prompt the user for some input information (the celsius temperature)process it to convert to fahrenheit temperatureand then output the result by displaying it on the computer screen susan could write her algorithm down in computer language howeverthe precision required to write it out formally tends to stifle the creative process of developing the algorithm insteadshe writes her algorithm using pseudocode pseudocode is just precise english that describes what program does it is meant to communicate algorithms without all the extra mental overhead of getting the details right in any particular programming language here is susan' completed algorithminput the temperature in degrees celsius (call it celsiuscalculate fahrenheit as ( / )celsius output fahrenheit the next step is to translate this design into python program this is straightforwardas each line of the algorithm turns into corresponding line of python code convert py program to convert celsius temps to fahrenheit bysusan computewell def main()celsius eval(input("what is the celsius temperature")fahrenheit / celsius print("the temperature is"fahrenheit"degrees fahrenheit "main(see if you can figure out what each line of this program does don' worry if some parts are bit confusing they will be discussed in detail in the next section after completing her programsusan tests it to see how well it works she uses inputs for which she knows the correct answers here is the output from two of her tests