10
八月

暑修資料結構 程式 08/4: ex1.c

   Posted by: admin   in 104(暑)資料結構

#include <stdio.h>
int main()
{
	int x, y;
	int s[10][10];
	for (x=1; x <=9; x++)
	{
		for (y=1; y <=9; y++)
		{
			s[x][y]= x*y;
			printf("%2d x %2d = %2d\n", x, y, s[x][y]);
		}		
	}
	return 0;
}

bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark

Tags: , ,

This entry was posted on 星期一, 八月 10th, 2015 at 01:19:48 and is filed under 104(暑)資料結構. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

Leave a reply

Name (*)
Mail (will not be published) (*)
URI
Comment