Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
hypotenuse calculator
//Rextester.Program.Main is the entry point for your code. Don't change it. //Microsoft (R) Visual C# Compiler version 2.9.0.63208 (958f2354) 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(hypotenuseCalculator(13, 42)); } public static double hypotenuseCalculator(double y, double x) { double hypotenuse = Math.Sqrt(y*y+x*x); return hypotenuse; } } }
run
|
edit
|
history
|
help
0
FizzBuzz C#
LINQ - Inner Join
towers of hanoi
VBA
Evaluating a Mathematical expression in a string in C#
basics of generics
Hello world test
Lazy exception caching
Math 5.8
EMV_RESULTAT