sum

Hello everyone I need to write a script that sums numbers passed to it as arguments on the command line and displays the results. I must use a for loop and then rewrite it using a while loop. It would have to output something like 10+20+30=60

this is what I have so far
fafountain@hfc:~$ vi sum
1 #! /usr/bin/ksh
2 total=0
3 for sum ; do
4 ((total=total+sum))
5 done
6 echo $total
7 exit 0
I don't know how to do the while loop, and I dont know how to make the output look like 10 +20 + 30=60

thank you for your help!

this is homework... please read the rules: