I fixed up the code for readability, my prof has weird formatting guidelines. The problem still remains that the file isnt being found though. I've tried deleting it and creating a new one with no...
Type: Posts; User: Helplessdrowningpuppy
I fixed up the code for readability, my prof has weird formatting guidelines. The problem still remains that the file isnt being found though. I've tried deleting it and creating a new one with no...
Thank you for the tip on the try catch construct, I thought because the file obviously existed I didn't need to put anything in for exceptions but I guess not. When I compile the program now though...
So my assignment is to read these values from an input file which I previously created. The 10 values represent miles traveled and I convert them using some formula my prof gave me to get the total...