This is my code for reading in a number and storing it in a file.
but when i go to print out the number from the file it wont work.does anyone know why.
when the number is stored in a file it is stored as a string. How do i convert the string into a int value.
puts("Error in opening file.txt");
puts("file.txt is opened");