Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Untitled
a guest
Oct 21st, 2017
80
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
C++
0.20 KB
| None
|
0
0
raw
download
clone
embed
print
report
#include <iostream>
#include <time.h>
using
namespace
std
;
int
main
(
)
{
srand
(
time
(
NULL
)
)
;
cout
<<
(
(
rand
(
)
%
RAND_MAX
)
%
2
==
1
?
"Heads"
:
"Tails"
)
<<
endl
;
return
1
;
}
Add Comment
Please,
Sign In
to add comment
Public Pastes
Sistem Keamanan Rumah Berbasis Arduino
C++ | 12 min ago | 0.64 KB
🤑 G2A.com Free Gift Card Guide Apr 2024 FIX 🤑
GetText | 32 min ago | 0.39 KB
Como Medir el Tiempo de Respuesta de Una API...
PowerShell | 45 min ago | 0.57 KB
200. Number of Islands
C++ | 1 hour ago | 1.39 KB
SDL FLAC experiment
C++ | 1 hour ago | 0.87 KB
222
VisualBasic | 1 hour ago | 19.97 KB
111
C# | 2 hours ago | 3.26 KB
Dancer style
LScript | 2 hours ago | 5.55 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!