From b805c5cb84eac688a14e865f6911eb12389be22e Mon Sep 17 00:00:00 2001 From: SSDKLH Date: Wed, 31 Mar 2021 17:34:07 -0500 Subject: [PATCH 1/2] Update Program.cs --- Console/Program.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Console/Program.cs b/Console/Program.cs index b3fcdf6a..caee0994 100644 --- a/Console/Program.cs +++ b/Console/Program.cs @@ -84,7 +84,7 @@ public static double Divide(string x, string y) // Implement this method following a similar pattern as above public static double Power(string x, string y) { - throw new NotImplementedException(); + return Math.Pow(double.Parse(x),double.Parse(y)); } } From 236005600182009f961307bdc1a07dbfd3d36f24 Mon Sep 17 00:00:00 2001 From: SSDKLH Date: Wed, 31 Mar 2021 17:37:03 -0500 Subject: [PATCH 2/2] Update Program.cs --- Console/Program.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Console/Program.cs b/Console/Program.cs index caee0994..78de921a 100644 --- a/Console/Program.cs +++ b/Console/Program.cs @@ -84,7 +84,7 @@ public static double Divide(string x, string y) // Implement this method following a similar pattern as above public static double Power(string x, string y) { - return Math.Pow(double.Parse(x),double.Parse(y)); + return Math.Pow(double.Parse(x),double.Parse(y));// } }