Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
average
MAMUNARRASHID
Dec 3rd, 2014
167
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
(
)
{
double
j
,
ava
,
num
;
int
i
,
n
;
j
=
0
;
scanf
(
"%d"
,&
n
)
;
for
(
i
=
0
;
i
<
n
;
i
++
)
{
scanf
(
"%lf"
,&
num
)
;
j
=
j
+
num
;
}
ava
=
j
/
n
;
printf
(
"%.2lf"
,
ava
)
;
return
0
;
}
Add Comment
Please,
Sign In
to add comment
Public Pastes
🤑 G2A.com Free Gift Card Guide May 2024 FIX 🤑
GetText | 7 min ago | 0.39 KB
MainScript NEW
CSS | 18 min ago | 3.34 KB
Images
CSS | 19 min ago | 0.66 KB
htmlLawed 1.2.5 - Remote Code Execution (RCE)...
Bash | 54 min ago | 1.25 KB
PopojiCMS 2.0.1 - Remote Command Execution (R...
Python | 55 min ago | 1.80 KB
Backdrop CMS 1.27.1 - Remote Command Executio...
Python | 56 min ago | 2.38 KB
AVL merge
C++ | 1 hour ago | 10.02 KB
Untitled
FreeBasic | 2 hours ago | 2.33 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!