~cpp
#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");
	}
}
----
구구단
Retrieved from http://wiki.zeropage.org/wiki.php/구구단/이태양
last modified 2021-02-07 05:28:45