#include<stdio.h>
int Shu(int i);
int main()
{
int i,t;
printf("Input i:");
scanf("%d%d",&i,&t);
t=Shu(i);
printf("%d\n",t);
return 0;
}
int Shu(int i)
{
int a;
char grade;
if(a>=0&&a<=100)
{
if(a>=90)
grade='A';
else
{
if(80<=a&&a<90)
grade='B';
else
{
if(70<=a&&a<80)
grade='C';
else
{
if(60<=a&&a<70)
grade='D';
else
grade='E';
}
}
}
}
return a;
}![这里写图片描述](http://img.blog.csdn.net/20180102163228149?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQvdGFuZzA1MTMwOA==/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/SouthEast)
版权声明:本文为tang051308原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。