The script should do the following: copy all the files that were entered in command line to a folder lab06d which is already created. and add a "b" at the end of the file to tell that is a backup. also it should print the total value added from all the files. but I don't thing is adding the value from all the files together.
Does it do those things? Have you tested it out? It looks good, but the only way to know is by actual testing. Good luck! :-)