pastebin
Add a new paste
View all pastes
Change language
Dutch
English
French
Russian
menu
URL Shortener
Multiple URL shortener
browser info
Whois IP and domain lookup
Capture a Website screenshot
Disqus Chatroom
Registration
pastebin
Paste Search Dynamic
Recent pastes
var
8 seconds ago
mvfilter isnull
2 minutes ago
subKey
3 minutes ago
unable to find valid certific
5 minutes ago
Unexpected error while
6 minutes ago
Failed password for invalid us
7 minutes ago
SPL commands
8 minutes ago
index main sourcetype
8 minutes ago
Dood Videos
11 hours ago
Adambrooks
12 hours ago
scale
#!/bin/bash
read
n
summ=
0
for
(
(
i=
1
; i<n
+1
; i++
)
)
do
read
num
summ=
$
(
(
$summ
+
$num
)
)
done
if
[
$summ
==
0
]
then
echo
"0.000"
else
echo
"scale=3;$summ/$n"
|bc
fi
Parsed in 0.008 seconds