0

I am trying to create a program that will create a new text file for each iteration of a number ie passing in a parameter 3 and setting num=3 should create text.txt and the end result should have text3.txt, text2.txt, and text1.txt. I know that I need to use the touch command to create a new file, but I am unable to figure out how to change that specific variable when I create it.

0 Answers0