Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Untitled
a guest
Mar 8th, 2018
100
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
text
0.21 KB
| None
|
0
0
raw
download
clone
embed
print
report
public static boolean isPrime (int n)
{
int num = (int)Math.sqrt(n);
for (int i = 2; i <= num; i++)
{
if (n % i == 0)
{
return false;
}
else
{
return true;
}
}
}
Add Comment
Please,
Sign In
to add comment
Public Pastes
π₯ G2A.com Free Gift Card Guide Apr 2024 NEWπ₯
GetText | 3 min ago | 0.38 KB
π° G2A.com Free Gift Card Guide Apr 2024 NEW π°
GetText | 17 min ago | 0.38 KB
π€ G2A.com Free Gift Card Guide Apr 2024 FIX π€
GetText | 17 min ago | 0.39 KB
disable_all_visibility_options
Bash | 1 hour ago | 0.61 KB
enable_all_visibility_options
Bash | 1 hour ago | 0.60 KB
org mode hacking
Lisp | 1 hour ago | 0.54 KB
file_visibility_options
Python | 1 hour ago | 4.40 KB
π€ G2A.com Free Gift Card Guide Apr 2024 FIX π€
GetText | 1 hour ago | 0.38 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the
Cookies Policy
.
OK, I Understand
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!