69,381
社区成员
发帖
与我相关
我的任务
分享
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace InfandNaN
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("1.0/0.0 = {0}", 1.0 / 0.0);
Console.WriteLine("0.0/0.0 = {0}", 0.0 / 0.0);
}
}
}
1.0/0.0 = 正无穷大
0.0/0.0 = 非数字
请按任意键继续. . .