Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
My quad calc
//Rextester.Program.Main is the entry point for your code. Don't change it. //Compiler version 4.0.30319.17929 for Microsoft (R) .NET Framework 4.5 using System; using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; namespace Rextester { public class Program { public static void Main(string[] args) { Console.WriteLine("Connor's Quadratic calculator"); var a = 7; var b = 8; var c = -11; var x1 = ((-b + Math.Sqrt((b * b ) - (4* a * c))) / (2*a)); Console.WriteLine("X= " +x1); var x2 = ((-b - Math.Sqrt((b * b ) - (4* a * c))) / (2*a)); Console.WriteLine("X= " +x2); } } }
run
|
edit
|
history
|
help
0
Intuit // C# // listing_4.2 (Converting / Parsing)
lookup test
Sort String
const
C# - out parameters and reference parameters
The Collatz Conjecture
Exception-Nikhil
Merge Sort
TEst1
Time diff with date list