首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > C# > 用c#解一元二期方程程序

用c#解一元二期方程程序

  • 资源大小:27.30 kB
  • 上传时间:2021-06-29
  • 下载次数:0次
  • 浏览次数:0次
  • 资源积分:1积分
  • 标      签: c#

资 源 简 介

using System;using System.Collections.Generic;using System.Linq;using System.Text;namespace ConsoleApplication1{    class Program    {        static void Main(string[] args)        {            double x1 = 0;            double x2 = 0;            Console.WriteLine("求 ax^2+bx+c=0 的解");            Console.Write("请输入a的值:");            double a = Convert.ToInt32(Console.ReadLine());            Console.Write("请输入b的值:");  &nb

文 件 列 表

一元二次方程
ConsoleApplication1
ConsoleApplication1.sln
ConsoleApplication1.suo
VIP VIP
0.168370s