LieuKyThien
21-07-2009, 10:54 AM
Yêu cầu bài toán: cho hiện bảng mã ASCII từ 32=>256
#include<stdio.h>
#include<conio.h>
void main()
{
clrscr();
int i,j;
printf("Bang ma ASCII:\n");
for(i=2;i<=16;i++)
{
for(j=0;j<=16;j++)
printf(" %c",i*16+j);
printf("\n");
}
getch();
}
#include<stdio.h>
#include<conio.h>
void main()
{
clrscr();
int i,j;
printf("Bang ma ASCII:\n");
for(i=2;i<=16;i++)
{
for(j=0;j<=16;j++)
printf(" %c",i*16+j);
printf("\n");
}
getch();
}