- Joined
- Nov 8, 2001
I need to write a little script that finds the sum and average of the arguments entered on the command line.
scriptname 34 76 139 57 327
The sum is $sum
The average is $avg
I'd also like to write a script that can tell how many Sundays there were in the year 2000.
scriptname 34 76 139 57 327
The sum is $sum
The average is $avg
I'd also like to write a script that can tell how many Sundays there were in the year 2000.