The BeeStack Application Development Guide describes how to develop an application for
BeeStack, including discussions on major considerations for commercial applications.
This document is intended for software developers who write applications for BeeStack-based
products using Freescale development tools.
It is assumed the reader is a programmer with at least rudimentary skills in the C programming
language and that the reader is already familiar with the edit/compile/debug process.
Implement the following integer methods:
a) Method celsius returns the Celsius equivalent of a Fahrenheit calculation
celsius = 5.0 / 9.0 * ( fahrenheit - 32 )
b) Method fahrenheit returns the Fahrenheit equivalent of a Celsius the calculation
fahrenheit = 9.0 / 5.0 * celsius + 32
c) Use the methods from parts (a) and (b) to write an application either to enter a Fahrenheit temperature and display the Celsius or to enter a Celsius temperature and display the Fahrenheit equivalent.