Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

구구단/이태양

From ZeroWiki
#include<stdio.h>

void main(){
	int dan,i;
	for(i=1;i<=9;i++){
		for(dan=2;dan<=5;dan++){
			printf("%d * %d = %d \t",dan,i,dan*i);
		}
		printf("\n");
	}
	printf("\n");
	for(i=1;i<=9;i++){
		for(dan=6;dan<=9;dan++){
			printf("%d * %d = %d \t",dan,i,dan*i);
		}
		printf("\n");
	}
}

구구단