Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
average
MAMUNARRASHID
Dec 3rd, 2014
168
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 June 2024 Fix🤑
JavaScript | 11 min ago | 0.33 KB
Use This
Lua | 16 min ago | 2.20 KB
🤑 G2A.com Free Gift Card Guide Jun 2024 FIX 🎁
GetText | 19 min ago | 0.36 KB
How Can I Maximize My Profits with the Trex G...
PHP | 20 min ago | 3.08 KB
🤑G2A.com Free Gift Card Guide June 2024 Fix🤑
JavaScript | 37 min ago | 0.33 KB
How to Participate in the Sniper Weekly Demo...
PHP | 41 min ago | 2.86 KB
zad 2
Python | 46 min ago | 0.16 KB
Untitled
Python | 48 min ago | 1.34 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!