string[] name= new string["经侦","凌惠祥","成荣","红南昌","隆裕民","但将开","天无善","网三名"];
int[] score= new score["90","65","88","70","46","81","100","68"];
int sum=0,avg;
for(int i=0; i<score.Length; i++)
{
sum += score[i];
}
int[] score= new score["90","65","88","70","46","81","100","68"];
int sum=0,avg;
for(int i=0; i<score.Length; i++)
{
sum += score[i];
}
static void Main(string[] args)
{
//声明“职位”数组,初始化为:"经理","项目主管","技术总监","财务主管"
string[] job ={"经理","项目主管","技术总监","财务总管"};
for (int i = 0; i <job.Length; i++)
{
Console.Write(job[i]);//打印职位
}
}
哪里错了?
{
//声明“职位”数组,初始化为:"经理","项目主管","技术总监","财务主管"
string[] job ={"经理","项目主管","技术总监","财务总管"};
for (int i = 0; i <job.Length; i++)
{
Console.Write(job[i]);//打印职位
}
}
哪里错了?
2016-11-09
最新回答 / 一筐
static void Main(string[] args) { //分号记得改为逗号 string[] name = new string[] { "吴松", "钱东宇", "伏晨", "陈陆", "周蕊", "林日鹏", "何昆","关欣"}; //数组!!!记得加[ ]方括号!!! int []num = new int[]{89,90,98,56,60,91,93,85}; ...
2016-11-06