Modify the temperature conversion program to print the table in reverse order, that is, from 300 degrees to 0

Source:

#include "stdio.h"

#define NUMBER_OF_CYCLES 28*5
#define STARTING_TEMPERATURE 90 

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 Fahrenheit\t|\tDegrees Celcius\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|\n", fahrenheit-i, ((fahrenheit-i)-32)*(0.5555556));
  }
  /* footer for 1-3 homework */
  printf("+-------------------------------+-----------------------+\n");

  return 0;
}

Output:

+-------------------------------+-----------------------+
|	Degrees Fahrenheit	|	Degrees Celcius	|
+-------------------------------+-----------------------+
|	300.0			|	148.9		|
|	295.0			|	146.1		|
|	290.0			|	143.3		|
|	285.0			|	140.6		|
|	280.0			|	137.8		|
|	275.0			|	135.0		|
|	270.0			|	132.2		|
|	265.0			|	129.4		|
|	260.0			|	126.7		|
|	255.0			|	123.9		|
|	250.0			|	121.1		|
|	245.0			|	118.3		|
|	240.0			|	115.6		|
|	235.0			|	112.8		|
|	230.0			|	110.0		|
|	225.0			|	107.2		|
|	220.0			|	104.4		|
|	215.0			|	101.7		|
|	210.0			|	98.9		|
|	205.0			|	96.1		|
|	200.0			|	93.3		|
|	195.0			|	90.6		|
|	190.0			|	87.8		|
|	185.0			|	85.0		|
|	180.0			|	82.2		|
|	175.0			|	79.4		|
|	170.0			|	76.7		|
|	165.0			|	73.9		|
|	160.0			|	71.1		|
|	155.0			|	68.3		|
|	150.0			|	65.6		|
|	145.0			|	62.8		|
|	140.0			|	60.0		|
|	135.0			|	57.2		|
|	130.0			|	54.4		|
|	125.0			|	51.7		|
|	120.0			|	48.9		|
|	115.0			|	46.1		|
|	110.0			|	43.3		|
|	105.0			|	40.6		|
|	100.0			|	37.8		|
|	95.0			|	35.0		|
|	90.0			|	32.2		|
|	85.0			|	29.4		|
|	80.0			|	26.7		|
|	75.0			|	23.9		|
|	70.0			|	21.1		|
|	65.0			|	18.3		|
|	60.0			|	15.6		|
|	55.0			|	12.8		|
|	50.0			|	10.0		|
|	45.0			|	7.2		|
|	40.0			|	4.4		|
|	35.0			|	1.7		|
|	30.0			|	-1.1		|
|	25.0			|	-3.9		|
|	20.0			|	-6.7		|
|	15.0			|	-9.4		|
|	10.0			|	-12.2		|
|	5.0			|	-15.0		|
|	0.0			|	-17.8		|
+-------------------------------+-----------------------+