主题:C语言新手,编译没问题,连接时候出问题,可以帮忙 看下吗?
#include<stdio.h>
int qualityPoints(int point);
int main(void)
{
int Point;
printf("输入Point:");
scanf("%d",&Point);
printf("the qualityPoints is %d\n",qualityPoints(Point));
return 0;
}
int qualituPoints(int point)
{
if((point <= 100) && (point >= 90))
{
return 4;
}
else if((point <= 89) && (point >= 80))
{
return 3;
}
else if((point <= 79) && (point >= 70))
{
return 2;
}
else if((point <= 69) && (point >= 60))
{
return 1;
}
else
{
return 0;
}
}
int qualityPoints(int point);
int main(void)
{
int Point;
printf("输入Point:");
scanf("%d",&Point);
printf("the qualityPoints is %d\n",qualityPoints(Point));
return 0;
}
int qualituPoints(int point)
{
if((point <= 100) && (point >= 90))
{
return 4;
}
else if((point <= 89) && (point >= 80))
{
return 3;
}
else if((point <= 79) && (point >= 70))
{
return 2;
}
else if((point <= 69) && (point >= 60))
{
return 1;
}
else
{
return 0;
}
}