We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9015977 commit d9f39eeCopy full SHA for d9f39ee
2 files changed
Homework2/StackCalculator/StackCalculator/Solution.cs
@@ -0,0 +1,17 @@
1
+namespace StackCalculator;
2
+
3
+public class Solution
4
+{
5
+ static void Main()
6
+ {
7
+ Console.WriteLine("Please, enter the expression");
8
+ var inputString = Console.ReadLine();
9
+ if (inputString == null)
10
11
+ return;
12
+ }
13
+ var subs = inputString.Split(' ');
14
+ Calculator stackCalculator = new Calculator();
15
+ Console.WriteLine($"{stackCalculator.CountTheExpressionInPostfixForm(subs)}");
16
17
+}
Stack/Stack/Solution.cs
@@ -0,0 +1,9 @@
+namespace Stack;
0 commit comments