找了几个小时了找不到错误,帮我看看
static void Main(string[] args)
{
double price = 4388;//手机的售价
double salary = 4978.67;//本月实发工资
if ( salary >= price )
{
Console.WriteLine("这月工资够买手机!");
}
else
{
Console.WriteLine("这月工资不够买手机!");
}//请在这里补充条件判断
}
}
}
static void Main(string[] args)
{
double price = 4388;//手机的售价
double salary = 4978.67;//本月实发工资
if ( salary >= price )
{
Console.WriteLine("这月工资够买手机!");
}
else
{
Console.WriteLine("这月工资不够买手机!");
}//请在这里补充条件判断
}
}
}
2017-02-25
举报