you could create a loop that after the program is run, it asks if the user wants to run the program again. If so loop to the beginning, if not the program exits.