Skip to content

Commit

Permalink
Update Program.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
elad770 authored Aug 31, 2023
1 parent 43b4eb8 commit 450b3cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion StarDavidShape/StarDavid/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ static void StarDavid(int row)
}
for (int y = 0; y < row_star.Length; y++)
{
if (r / 4 == x | r * 3 / 4 == x | col - 1 == y | temp - 1 - x == y | (y == prog | y == row_star.Length - 1 - prog))
if (r / 4 == x || r * 3 / 4 == x || col - 1 == y || temp - 1 - x == y || (y == prog || y == row_star.Length - 1 - prog))
{

Console.ForegroundColor = randomColor;
Expand Down

0 comments on commit 450b3cd

Please sign in to comment.