I want to output a score in a file high.txt that is highest among the previous score (It is actually a guessing game) but everytime i run this code it outputs 1 as the highest score (it should be no of time i guess for example if i guess the random no 5 times it would output 5 and the next time I compile and run it and if i guess it in 1 chance it should output 1).
0 Answer(s)