我這咋有問題啊?
using System;
using System.Collections.Generic;
using System.Text;
namespace Test
{
? ? class Program
? ? {
? ? ? ? static void Main(string[] args)
? ? ? ? {
? ? ? ? ? ?//請在這里完善代碼
? ? ? ? ? ?string[] name =new string[]{"關羽","張飛","趙云","馬超","黃忠"};
? ? ? ? ? ?for(int i=0 ; i<name.Length ; i++){
? ? ? ? ? ? ? ?Console.Write(name[i]+",");
? ? ? ? ? ?}?
? ? ? ? }
? ? }
}
2024-09-22
for 循環(huán)后面的()是中文狀態(tài)下的,改成英文輸入