题解 1216: 成绩转换

来看看其他人写的题解吧!要先自己动手做才会有提高哦! 
返回题目 | 我来写题解

筛选

编写题解 1216: 成绩转换(C语言)

摘要:解题思路:可以将s缩小十倍,然后用switch-case语句,注意加上\n,否则运行答案错误。注意事项:参考代码:#include<stdio.h> int main() { int s; w……

1216: 成绩转换

摘要:```python l=[] for i in range(4): m=int(input()) l.append(m) for i in l: if i>=90 ……

成绩转换 (C语言代码)

摘要:解题思路:switch用起来挺麻烦的,if代替就行注意事项:参考代码:#include<stdio.h> int main() { int n; while(scanf("%d",&n)!……

1216: 成绩转换

摘要:```cpp #include using namespace std; int main() { int n; while(cin>>n) switch(n/……