Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Untitled
a guest
Feb 20th, 2018
68
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
C
0.24 KB
| None
|
0
0
raw
download
clone
embed
print
report
#include <stdio.h>
int
main
(
)
{
int
n
,
i
,
x
;
scanf
(
"%u"
,
&
n
)
;
long
int
s
=
0
;
for
(
i
=
0
;
i
<
n
;
i
++
)
{
scanf
(
"%d"
,
&
x
)
;
s
+=
x
;
}
float
sr
=
s
/
(
float
)
n
;
printf
(
"%f
\n
"
,
sr
)
;
return
0
;
}
Add Comment
Please,
Sign In
to add comment
Public Pastes
Create Lightmap UV
C# | 14 min ago | 1.13 KB
🤑 G2A.com Free Gift Card Guide May 2024 FIX 🤑
GetText | 27 min ago | 0.39 KB
amiberry wbx
Make | 44 min ago | 11.15 KB
Untitled
Java | 1 hour ago | 0.43 KB
Untitled
CSS | 1 hour ago | 18.83 KB
boom.lua
Lua | 2 hours ago | 1.80 KB
EasyButton Control rev_01
Arduino | 2 hours ago | 2.63 KB
Custom PDF Viewer Block in Articulate Rise JS...
JavaScript | 3 hours ago | 0.09 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!