请大家帮忙改下错!
#include"stdio.h"void main()
{
integer I;
long j;
printf("Enter an integer:\n");
scanf("%d",&i);
j=I*I;
printf("I=%d j=%d\n,j);
}
无法运行,怎么改???
-----------------------------------
#include"stdio.h"
void main()
{
double f;
printf("Enter an double:\n");
scanf("%d",f);
printf("f=%f\n",f);
}
运行结果出错了???
--------------------------------
#include"stdio.h"
void main()
{
int i;
int *pi=i;
scanf("%d",pi);
printf("f=%d\n",*pi);
}
运行结果出错了
-------------------------
请大家帮我改一下 ,谢谢啦