#include<stdio.h>
#include<conio.h>
int main()
{
int i,j;
printf("\n bang cuu chuong:\n");
for(i=1;i<=10;i++)
{
for(j=1;j<=5;j++)
printf(" %2dx%2d=%3d ",j,i,i*j);
printf("\n");
}
printf("\n");
for(i=1;i<=10;i++)
{
for(j=6;j<=10;j++)
printf(" %2dx%2d=%3d ",j,i,i*j);
printf("\n");
}
getch();
return 0;
}
Be the first to comment
You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.