Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Functions
alon2k2
Apr 4th, 2019
57
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
Java
0.10 KB
| None
|
0
0
raw
download
clone
embed
print
report
public
static
int
sumOfDigits
(
int
a
)
{
return
a
==
0
?
a
:
a
+
sumOfDigits
(
--
a
)
;
}
Add Comment
Please,
Sign In
to add comment
Public Pastes
Cardano Foundation Unveils Interim Constituti...
PHP | 6 min ago | 0.10 KB
🤑 G2A.com Free Gift Card Guide Apr 2024 FIX 🤑
GetText | 18 min ago | 0.39 KB
Create Spline from code
C# | 24 min ago | 0.73 KB
Crypto Exchange Binance Secures Full VASP Lic...
PHP | 39 min ago | 0.08 KB
Untitled
C# | 47 min ago | 22.13 KB
Untitled
PHP | 53 min ago | 0.97 KB
🤑 G2A.com Free Gift Card Guide Apr 2024 FIX 🤑
GetText | 1 hour ago | 0.38 KB
cloneRecord
JavaScript | 2 hours ago | 0.83 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!