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>
#include <conio.h>
void gugudan(int range){
	int i,j;
	for(i=1;i<=9;i++){
			for(j=range;j<=range+3;j++)
				printf("%d * %d = %d\t",j,i,i*j);
			printf("\n");
	}
	printf("\n\n");
}
int main(void){
	
	gugudan(2);
	gugudan(6);

	return 0;
}

구구단