07:31C# hypotenuse calculator program 📐
From the creator
C# hypotenuse right triangle calculator program tutorial example explained #C# #hypotenuse #calc using System; namespace MyFirstProgram { class Program { static void Main(string[] args) { Console.WriteLine("Enter side A: "); double a = Convert.ToDouble(Console.ReadLine()); Console.WriteLine("Enter side B: "); double b = Convert.ToDouble(Console.ReadLine()); double c = Math.Sqrt((a * a) + (b * b)); Console.WriteLine("The hypotenuse is: " + c); Console.ReadKey(); } } }
Published 2021-07-03 · Watch on YouTube ↗
Availability and playback restrictions are controlled by the original channel.





