Solved: A program that asks the user for a file
Write a program that asks the user for a file name for example file.txt . If the file does not exist a message should pop up and ask the user to enter another file name.
the program should then get the data from the file and save it to an array of doubles (the data in the file is separated by commas so use a tokenizer to separate them)
then the array should be passed to a function that sorts it from the smallest to largest. then prints out the values