Skip to content

Instantly share code, notes, and snippets.

@nobodyguy
Created March 10, 2015 13:50
Show Gist options
  • Save nobodyguy/e8d7c539c53e34bb63cc to your computer and use it in GitHub Desktop.
Save nobodyguy/e8d7c539c53e34bb63cc to your computer and use it in GitHub Desktop.
KPC2
printf("Temperature table:\n\n\t ");
n=0;
while (mon[n]!='\0')
{
if (mon[n]==',')
printf(" ");
else
printf("%c", mon[n]);
n++;
}
printf("\n");
for (int i = 0; i < 16; i++)
{
printf("%d: ", styear+i);
for (int j = 0; j < 12; j++)
{
printf("%6.1f", temp[i][j]);
}
printf("\n");
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment