Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
является ли число простым
gashink_t
Feb 11th, 2020
119
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
C
0.17 KB
| None
|
0
0
raw
download
clone
embed
print
report
#include <stdio.h>
int
main
(
)
{
int
b
,
n
=
2
;
printf
(
" vvedite chislo b = "
)
;
scanf
(
" %d"
,
&
b
)
;
while
(
b
%
n
!=
0
)
{
n
++;
if
(
n
==
b
)
return
1
;
}
return
0
;
}
Add Comment
Please,
Sign In
to add comment
Public Pastes
🤑 G2A.com Free Gift Card Guide May 2024 FIX 🤑
GetText | 19 min ago | 0.39 KB
Untitled
C# | 43 min ago | 1.33 KB
Untitled
Java | 44 min ago | 3.03 KB
Untitled
Java | 46 min ago | 0.86 KB
Untitled
Java | 46 min ago | 0.96 KB
Untitled
Java | 47 min ago | 3.75 KB
Untitled
Java | 47 min ago | 5.25 KB
Untitled
C# | 1 hour ago | 0.67 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!