Skip to content

Commit ea05d57

Browse files
committed
Fix code
1 parent 7f78309 commit ea05d57

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

text-counter-console-app/Program.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
while (true)
66
{
77
string textInput = Console.ReadLine(); //read text input in each line
8-
if (textInput == null | textInput == "") //if Ctrl+D is pressed or text input is empty
8+
if (textInput == null || textInput == "") //if Ctrl+D is pressed or text input is empty
99
{
1010
break; //end while loop
1111
}

0 commit comments

Comments
 (0)