Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Untitled
Josif_tepe
Dec 21st, 2025
33
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
C++
0.23 KB
| None
|
0
0
raw
download
clone
embed
print
report
#include <iostream>
using
namespace
std
;
int
main
(
)
{
int
a,b
;
cin
>>
a
>>
b
;
int
zbir
=
0
;
for
(
int
i
=
a
;
i
<=
b
;
i
++
)
{
if
(
i
%
2
==
1
)
{
zbir
+
=
i
;
}
}
cout
<<
zbir
<<
" "
;
return
0
;
}
Advertisement
Add Comment
Please,
Sign In
to add comment
Public Pastes
Huge Bitcoin Profits
CSS | 17 min ago | 0.94 KB
✅ VIP Method
CSS | 18 min ago | 0.94 KB
Untitled
1 hour ago | 17.46 KB
Untitled
3 hours ago | 16.08 KB
Untitled
5 hours ago | 19.23 KB
Mika DCS Test
5 hours ago | 27.20 KB
Untitled
7 hours ago | 9.00 KB
Untitled
7 hours ago | 20.94 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!