亚洲在线久爱草,狠狠天天香蕉网,天天搞日日干久草,伊人亚洲日本欧美

為了賬號安全,請及時綁定郵箱和手機立即綁定

正在回答

5 回答

using System;
using System.Collections.Generic;
using System.Text;

namespace Test
{
??? class Program
??? {
? ? ? ? ?static void Main(string[] args)
??????? {
??????????? int x = 5;
??????????? int y = 5;
??????????? int z = 5;
??????????? x++;
??????????? Console.Write(x);

? ? ? ? ? ? ++y;

? ? ? ? ? ? Console.Write(y);

??????????? Console.Write(++z);
??????? }
??? }
你可以試試這一串代碼,我這串代碼有彩蛋哦!!

等你找出來了,然后不懂在來問我


0 回復 有任何疑惑可以回復我~

using System;
using System.Collections.Generic;
using System.Text;

namespace Test
{
??? class Program
??? {
??????? static void Main(string[] args)
??????? {
??????????? int x = 5;
??????????? int y = 5;
??????????? int z = 5;
??????????? x++;
??????????? Console.Write(x);
??????????? Console.Write(++y);
??????????? Console.Write(++z);
??????? }
??? }
}

不謝

0 回復 有任何疑惑可以回復我~

天真的你已經改好了,題目是需要將y++改為++y

0 回復 有任何疑惑可以回復我~

這個實現不了嘛?


0 回復 有任何疑惑可以回復我~

using System;

using System.Collections.Generic;

using System.Text;


namespace Test

{

? ? class Program

? ? {

? ? ? ? static void Main(string[] args)

? ? ? ? {

? ? ? ? ? ? int x = 5;

? ? ? ? ? ? int y = 5;

? ? ? ? ? ? int z = 5;

? ? ? ? ? ? x++;

? ? ? ? ? ? Console.Write(x);

? ? ? ? ? ? Console.Write(++y);

? ? ? ? ? ? Console.Write(++z);

? ? ? ? }

? ? }

}


0 回復 有任何疑惑可以回復我~

舉報

0/150
提交
取消

2-15的任務

我要回答 關注問題
微信客服

購課補貼
聯系客服咨詢優惠詳情

幫助反饋 APP下載

慕課網APP
您的移動學習伙伴

公眾號

掃描二維碼
關注慕課網微信公眾號