麻烦大佬帮找问题,谢谢
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("这月工不够买手机!");
}
}
}
}