Skip to content

Commit

Permalink
Fix code
Browse files Browse the repository at this point in the history
  • Loading branch information
lulunac27a committed Nov 11, 2024
1 parent 7f78309 commit ea05d57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion text-counter-console-app/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
while (true)
{
string textInput = Console.ReadLine(); //read text input in each line
if (textInput == null | textInput == "") //if Ctrl+D is pressed or text input is empty
if (textInput == null || textInput == "") //if Ctrl+D is pressed or text input is empty
{
break; //end while loop
}
Expand Down

0 comments on commit ea05d57

Please sign in to comment.