Not displaying integers when writing to a text file in netbeans
posted 6 years ago
I am working on this and I have spent about 4 hours try to find a solution on the internet and just by working with the code to no end.
Create a Java application that:
creates a file called scores.txt
Write your name to the first line of the file.
Next use a loop to prompt the user for three numeric grades. Use a counter variable (i.e. intCounter) in the prompt. Write each grade to the file.
I have gotten here, but when I view the file the integers show up as letters.