老师为啥显示运行成功编译错误
using System;
using System.Collections.Generic;
using System.Text;
namespace Test
{
class Program
{
static void Main(string[] args)
{
double price = 4388;//手机的售价
double salary = 4978.67;//本月实发工资
//请在这里补充条件判断
if(salary>=price){
Console.WriteLine("这月工资够买手机!");
}else{
Console.WriteLine("这月工资不够买手机!");
}
}
}
}