Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
факториал
spacerose
Dec 18th, 2019
121
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 <iostream>
using
namespace
std
;
int
main
(
)
{
int
x
;
int
f
=
1
;
cin
>>
x
;
if
(
x
==
0
)
f
=
0
;
else
{
while
(
x
>
1
)
{
f
*
=
x
;
x
--
;
}
}
cout
<<
f
;
}
Add Comment
Please,
Sign In
to add comment
Public Pastes
SCRIPT PARA ELIMINAÇÃO DE ARQUIVOS TEMPORÁRIO...
Batch | 13 min ago | 2.06 KB
Untitled
C++ | 21 min ago | 1.27 KB
Kwintv - Local Buffer Overflow
C | 29 min ago | 2.29 KB
🤑 G2A.com Free Gift Card Guide Apr 2024 FIX 🤑
GetText | 30 min ago | 0.39 KB
Swimbot Error
Python | 38 min ago | 0.68 KB
Machine Controller
Lua | 44 min ago | 1.18 KB
Notification Library
Lua | 1 hour ago | 3.97 KB
htacces
IO | 1 hour ago | 0.49 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!