Skip to content

Commit

Permalink
Update 4-merge-your-pull-request.md
Browse files Browse the repository at this point in the history
  • Loading branch information
heiskr authored Mar 19, 2024
1 parent 64cfe6c commit 63ca9b3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/steps/4-merge-your-pull-request.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,5 @@ As noted in the previous step, you may have seen evidence of GitHub Actions runn

4. Wait about 20 seconds then refresh this page (the one you're following instructions from). [GitHub Actions](https://docs.github.com/en/actions) will automatically update to the next step.

> [!NOTE]
> Check out the **Finish** step to see what you can learn next!
> [!NOTE]
> Check out the **Finish** step to see what you can learn next!

5 comments on commit 63ca9b3

@Mameeey
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

how to hacked faceebook password

@ABDOS02TUDENT
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

how to hacked faceebook password

@Shoaib050041
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"" あとなんしゅうかんかすると"""""""""""""""""""" " あと何週間化すると" "
しょくじかおちゃがしたい

@Shoaib050041
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"" あとなんしゅうかんかすると"""""""""""""""""""" " あと何週間化すると" "
しょくじかおちゃがしたい

@Z1C8A18Y
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

using System;

class Program
{
static void Main()
{
Console.WriteLine("Enter a number:");
int number = Convert.ToInt32(Console.ReadLine());

    bool isPrime = IsPrime(number);

    if (isPrime)
    {
        Console.WriteLine($"{number} is a prime number");
    }
    else
    {
        Console.WriteLine($"{number} is not a prime number");
    }
}

static bool IsPrime(int number)
{
    if (number <= 1)
        return false;

    if (number == 2)
        return true;

    if (number % 2 == 0)
        return false;

    var boundary = (int)Math.Floor(Math.Sqrt(number));

    for (int i = 3; i <= boundary; i += 2)
    {
        if (number % i == 0)
            return false;
    }

    return true;
}

}

Please sign in to comment.