#include<stdio.h>
int main()
{ long iLong;
short iShort;
int iNumber1=1; //单词拼错了
int iNumber2=2; //单词拼错了
char cChar[10];
printf("Enter the long integer\n");
scanf("%ld",&iLong);
printf("Enter the short integer\n ");
scanf("%hd",&iShort);
printf("Enter the number1 number2:\n"); //提示作了修改
scanf("%d%d",&iNumber1,&iNumber2); //有改动
printf("Enter the string but only show three character\n");
scanf("%3s",cChar);
printf("the long integer is:%ld\n",iLong);
printf("the short inreger is:%hd\n",iShort);
printf("the Number1 is:%d\n",iNumber1);
printf("the Number2 is:%d\n",iNumber2);
printf("the three character are %s\n",cChar);
return 0;
}
