皮皮学,免费搜题
登录
logo - 刷刷题
搜题
【简答题】
编写一段程序,运行用户提问 “你考了多少分?( 0 ~ 100 )”,接受输入后判断其等级并显示出来。判断依据如下: 优( 90 ~ 100 )、良( 80 ~ 89 )、中( 60 ~ 79)和差(0~59) static void Main(string[] args) { Console.WriteLine(" 请输入考分 (0-100"); string x = Console .ReadLine (); int y = int.Parse (x); if (y 100) { Console.WriteLine(" 输入错误 "); return; } if ( ) Console.WriteLine(" 优 "); else if( ) Console.WriteLine(" 良 "); else if ( ) Console.WriteLine(" 中 "); else Console.WriteLine(" 差 "); }
手机使用
分享
复制链接
新浪微博
分享QQ
微信扫一扫
微信内点击右上角“…”即可分享
反馈
参考答案:
举一反三
【单选题】世界牛奶日是哪天()
A.
6月1日
B.
3月12日
C.
8月1日
D.
2月12日
【简答题】Throwable类有两个子类:Error 类和( )类。
【单选题】人体最基本、最重要的气是
A.
元气
B.
宗气
C.
营气
D.
卫气
E.
以上都不是
【单选题】what their friendships are based upon, the important thing to remember is both of them are friendships.
A.
Regardless that
B.
Regardless of, that
C.
Though, /
D.
Despite, what
【简答题】阅读理解 Friends play an important part in our lives, and although we may take the fact of friendship for granted, we often don't clearly understand how we make friends. While we get on well with a number...
【简答题】Sunday, August 5th is the Friendship Day. It is said that in 1935 the first Sunday of August was proclaimed as the Friendship Day. Since then the 1. of the Friendship Day has become an 2....
【单选题】人体最基本、最重要的气是
A.
元气
B.
宗气
C.
营气
D.
卫气
【单选题】人体最基本、最重要的气是
A.
元气
B.
营气
C.
卫气
D.
宗气
【单选题】人体最基本、最重要的气是
A.
元气
B.
营气
C.
卫气
D.
宗气
E.
中气
【简答题】Throwable 类有两个子类:Exception类和() 类。
相关题目:
参考解析:
知识点:
题目纠错 0
发布
创建自己的小题库 - 刷刷题