Reverse Fahrenheit to Celcius program to Celcius to Fahrenheit

Source:

#include "stdio.h"

#define NUMBER_OF_CYCLES 28*5
#define STARTING_TEMPERATURE -45

int main(int argc, char *argv[])
{
  float fahrenheit = STARTING_TEMPERATURE;
  /*float celcius = STARTING_TEMPERATURE;*/

  int i;

  /* the header for 1-3 */
  printf("+-------------------------------+-------------------------------+\n");
  printf("|\tDegrees Celcius\t\t|\tDegrees Fahrenheit\t|\n");
  printf("+-------------------------------+-------------------------------+\n");

  /* Our main loop */
  for(i=0; i<NUMBER_OF_CYCLES; i+=5)
  {
    printf("|\t%.1f\t\t\t|\t%.1f\t\t\t|\n", ((fahrenheit+i)-32)*(0.5555556), fahrenheit+i);
  }
  /* footer for 1-3 homework */
  printf("+-------------------------------+-------------------------------+\n");

  return 0;
}

Output:

+-------------------------------+-------------------------------+
|	Degrees Celcius		|	Degrees Fahrenheit	|
+-------------------------------+-------------------------------+
|	-42.8			|	-45.0			|
|	-40.0			|	-40.0			|
|	-37.2			|	-35.0			|
|	-34.4			|	-30.0			|
|	-31.7			|	-25.0			|
|	-28.9			|	-20.0			|
|	-26.1			|	-15.0			|
|	-23.3			|	-10.0			|
|	-20.6			|	-5.0			|
|	-17.8			|	0.0			|
|	-15.0			|	5.0			|
|	-12.2			|	10.0			|
|	-9.4			|	15.0			|
|	-6.7			|	20.0			|
|	-3.9			|	25.0			|
|	-1.1			|	30.0			|
|	1.7			|	35.0			|
|	4.4			|	40.0			|
|	7.2			|	45.0			|
|	10.0			|	50.0			|
|	12.8			|	55.0			|
|	15.6			|	60.0			|
|	18.3			|	65.0			|
|	21.1			|	70.0			|
|	23.9			|	75.0			|
|	26.7			|	80.0			|
|	29.4			|	85.0			|
|	32.2			|	90.0			|
+-------------------------------+-------------------------------+