Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Untitled
artur99
May 28th, 2018
138
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
C++
0.25 KB
| None
|
0
0
raw
download
clone
embed
print
report
#include <iostream>
using
namespace
std
;
int
main
(
)
{
int
a
=
0
, b
=
0
, prod
=
0
;
cin
>>
a
>>
b
;
if
(
a
>
0
)
{
do
{
a
--
;
prod
+
=
b
;
}
while
(
a
>
0
)
;
}
cout
<<
prod
<<
endl
;
}
Add Comment
Please,
Sign In
to add comment
Public Pastes
basicAI
Lua | 23 min ago | 0.19 KB
signalization
Lua | 1 hour ago | 1.51 KB
Esp32_usb_dongle_controller_wifi
C++ | 2 hours ago | 1.51 KB
python_usb_dongle_controller
Python | 2 hours ago | 1.59 KB
WebcamAverageColor
C# | 2 hours ago | 1.48 KB
clone_script
Bash | 2 hours ago | 1.16 KB
After Install Linux
PHP | 2 hours ago | 0.43 KB
BME280_ESP32C6_TEST
C++ | 3 hours ago | 1.65 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!