Here's a program rather like one we had before. It takes two arguments and converts them into numbers.
Your task is to adapt it in two ways. First, add each new number into the running total as you calculate it, so that the program gives the right answer. Second, change it so that it adds up three numbers from the command line instead of two.
As before, there are some things we have to leave to later, i.e. checking that three numbers are actually given, checking that the numbers are properly formed, and writing a loop so that any number of numbers can be given.