超速判断(10)

#include<stdio.h>
int main()
{
	int n;
	while(scanf("%d",&n)!=EOF)
	{
		if(n<0||n>500) continue;
		else if(n<=60) printf("Speed: %d - OK
",n);
		else printf("Speed: %d - Speeding
",n);
	}
	return 0;
}

原文地址:https://www.cnblogs.com/abc-24990/p/4257513.html