Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Untitled
a guest
Nov 17th, 2018
91
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
text
0.20 KB
| None
|
0
0
raw
download
clone
embed
print
report
// Cálculo ingenuo de una serie geométrica:
int Calculo(int a, int r, int n) {
int R = 1, S = 0;
while(n--) {
S += a * R;
R *= r;
}
return S;
}
Add Comment
Please,
Sign In
to add comment
Public Pastes
ABC353C
C++ | 8 min ago | 0.97 KB
Untitled
C | 8 min ago | 2.98 KB
🤑 G2A.com Free Gift Card Guide May 2024 FIX 🎁
GetText | 9 min ago | 0.38 KB
ABC353E
C++ | 9 min ago | 1.18 KB
Untitled
C | 11 min ago | 0.78 KB
🤑 G2A.com Free Gift Card Guide May 2024 FIX 🤑
GetText | 15 min ago | 0.39 KB
Nigerian scammers and spammers [11-5-7/2024]
AIMMS | 41 min ago | 154.31 KB
Nigerian scammers and spammers [11-5-6/2024]
AIMMS | 44 min ago | 118.27 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!