/*
* reverse.c
*
*
* Created by Matthew Dunson on 11/15/09.
* Copyright 2009 The Ohio State University. All rights reserved.
*
*/
#include <stdio.h>
int main ()
{
int i = 1, j = 1, j_counter = j;
while ( i < 6)
{
while ( j > 0)
{
printf ("%d", j);
j--;
}
if ( i != 5)
{
printf(",");
}
j_counter++;
j = j_counter;
i++;
}
return 0;
}