为了账号安全,请及时绑定邮箱和手机立即绑定

C#开发轻松入门

难度入门
时长 4小时43分
学习人数
综合评分9.40
833人评价 查看评价
9.5 内容实用
9.5 简洁易懂
9.2 逻辑清晰

已采纳回答 / Hardy
第一步:点击Attach右边的下三角第二步:点击配置管理器第三步:<...图片...><...图片...><...图片...><...图片...>
if (x&gt;=y)
{
if(x&gt;=5)
Console.WriteLine (&quot;5&quot;)
}
感觉这像是在说
bool x&gt;=y&amp;&amp;x&gt;=5
Console.WriteLine (&quot;5&quot;)
string[] name=new string[]{&quot;吴松&quot;,&quot;};
int[] score=new int[]{&quot;89&quot;,&quot;90&quot;,&quot;98&quot;,&quot;56&quot;,&quot;60&quot;,&quot;91&quot;,&quot;93&quot;,&quot;85&quot;};
int index=0; int max=score[0]; for(int i=0;i&lt;score.Length;i++) { if(score[i]&gt;max) max=score[i]; index=i;} Console.Write(&quot;分数最高的是{0},数是{1}&quot;,name[index],score[index]);

已采纳回答 / Tracer丶4298853
就是要练习才能记住知识,看理论的不练习很难记下来
不对的检查一下符号,你可能把中文分号输进去了!
double money = 60000.00;//存款金额
if (money &gt;= 100000)//请在这里补充多重条件判断
Console.WriteLine(&quot;送一台微波炉&quot;);
else if (money &gt;= 50000 &amp;&amp; money &lt; 100000)
Console.WriteLine(&quot;送一套茶具&quot;);
else if (money &gt;= 10000 &amp;&amp; money &lt; 50000)
Console.WriteLine(&quot;送一袋大米&quot;);
else
Console.WriteLine(&quot;没有礼品&quot;);
提交反应太慢

最新回答 / 咸盐咸
包 安装失败你把关于他的全都删干净,重新安装一下试试。
一共多少题你倒是说一声呀,每个人基础不一样并不是每个人都要从头到尾做一遍的呀,你这不是耽误人时间么
给个建议,希望能提示错误的信息!

最赞回答 / 以雪之名
        static void Main(string[] args)        {            Console.Write("蜀国”五虎将”是:");            string[] names = new string[] { "关羽", "张飞", "赵云", "马超", "黄忠" };            for (int i = 0; i < names.Length; i++)            {                Console.Wri...
好棒的课程!!喜欢这样的 学习方式!!
编译器太垃圾了 真的
课程须知
本课程是C#基础课程,热烈欢迎各位小伙伴拍砖吐槽!!
老师告诉你能学到什么?
1、C#的基本概念 2、Visual Studio的使用技巧 3、C#的语法和程序逻辑

微信扫码,参与3人拼团

微信客服

购课补贴
联系客服咨询优惠详情

帮助反馈 APP下载

慕课网APP
您的移动学习伙伴

公众号

扫描二维码
关注慕课网微信公众号

友情提示:

您好,此课程属于迁移课程,您已购买该课程,无需重复购买,感谢您对慕课网的支持!

本次提问将花费2个积分

你的积分不足,无法发表

为什么扣积分?

本次提问将花费2个积分

继续发表请点击 "确定"

为什么扣积分?

举报

0/150
提交
取消