Dictionary<string, string> obj = new Dictionary<string, string>()
{ { "吴松", "29" }, { "钱东宇", "90" }, { "伏晨", "98" }, { "陈陆", "56" }, { "周蕊", "60" }, { "林日鹏", "91" }, { "何昆", "93" }, { "关欣", "85" } };
{ { "吴松", "29" }, { "钱东宇", "90" }, { "伏晨", "98" }, { "陈陆", "56" }, { "周蕊", "60" }, { "林日鹏", "91" }, { "何昆", "93" }, { "关欣", "85" } };
{
class Program
{
static void Main(string[] args)
{
监","财务主管"
string[] job ={"经理","项目主管","技术总监","财务主管"};
for (int i = 0; i <job.length ; i++)
{
Console.Write(job[i]);//打印职位
}
}
}
}
哪里错了,MD
class Program
{
static void Main(string[] args)
{
监","财务主管"
string[] job ={"经理","项目主管","技术总监","财务主管"};
for (int i = 0; i <job.length ; i++)
{
Console.Write(job[i]);//打印职位
}
}
}
}
哪里错了,MD
2019-11-08
int[] score = new int[] {89,39,100,51,94,65,70 };//分数
Console.Write("不及格的有:");
for (int i = 0; i <score.Length; i++)
{
if(score[i]<60)//筛选条件
Console.Write(score[i]+",");
}
Console.Write("不及格的有:");
for (int i = 0; i <score.Length; i++)
{
if(score[i]<60)//筛选条件
Console.Write(score[i]+",");
}
2019-10-25
static void Main(string[] args)
{
for (int x=0;x<=12;x++)//请填写代码
{
Console.WriteLine(x+" ");
}
}
{
for (int x=0;x<=12;x++)//请填写代码
{
Console.WriteLine(x+" ");
}
}
2019-10-24
if(money<10000.00)
Console.WriteLine("没有礼品");
else if(money<50000.00)
Console.WriteLine("送一袋大米");
else if(money<100000.00)
Console.WriteLine("送一套茶具");
else
Console.WriteLine("送一台微波炉");
Console.WriteLine("没有礼品");
else if(money<50000.00)
Console.WriteLine("送一袋大米");
else if(money<100000.00)
Console.WriteLine("送一套茶具");
else
Console.WriteLine("送一台微波炉");