Demo entry 6685612

实验报告1

   

Submitted by 、、 on Dec 20, 2017 at 10:53
Language: C. Code size: 263 Bytes.

# include<stdio.h>
int main(){
	int score;
	scanf("%d",&score);
	if(score>=90)printf("A");
	else if(score>=80&&score<90) printf("B"); 
	else if(score>=70&&score<80) printf("C");
	else if(score>=60&&score<70) printf("D");
	else printf("E");
	return 0;
} 

This snippet took 0.00 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).