add command line arguments
my template for Coms25 assignments
function uses pointers to change values
pointers vs arrays