C言語 演習4-15

[crayon]/*
============================================================================
Name : ensyuu.c
Author :
Version :
Copyright : Your copyright notice
Description : Hello World in C, Ansi-style
============================================================================
*/

#include

int main (void)
{
int i, j;

printf(” | “);
for (i = 1; i <= 9; i++) { printf("%3d", i); } putchar('\n'); printf("----"); for ( i = 0; i <= 9; i++) { printf("---"); } putchar('\n'); for ( i = 1; i <= 9; i++) { printf("%2d | ", i); for ( j = 1; j <= 9; j++) { printf("%3d", i * j); } putchar('\n'); } return(0); } [/crayon] 参照:http://nekohand.web.fc2.com/meikai/neko_meikai_c_ans.html