Greetings there !
Id like some help solving this particular exercise my teacher gave to me, which seems like i dont really have a clue
Exercise :
Write a program that gets undefined number of integer command-line arguments ( >1 ); write method to find sum of all the arguments.

How do I properly solve this pls? any help would be appreciated thanks!!