Commit b126af42 authored by Sarvesh's avatar Sarvesh

Upload new file

parent d6da3b5d
echo -n "Enter number : "
read n
i=1
sum=0
while [ $i -le $n ]
do
sum=$(( $sum + $i*$i ))
i=$(( $i + 1 ))
done
echo $sum
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment