I need to print out the scores and the grades when entered and i do not know how to print the scanner. im sure i am probably missing other things as well.
print the scanner?? or print the variables you used scanner at?? please make it more clear
also
System.out.printf("%s%d%s\n", "There are ",count, " student(s) in the class");
System.out.printf("%s%d%s\n", "The total of their scores = ",total,"points");
I'm not sure if this is the right way of doing this... I think it's more like this.
System.out.println("There are " + count + " student(s) in the class");
System.out.println("The total of their scores = " + total + "points");
zeroliken
Veteran Poster
1,106 posts since Nov 2011
Reputation Points: 201
Solved Threads: 162
I already showed the right way of printing it out in my first post
System.out.println("There are " + count + " student(s) in the class");
System.out.println("The total of their scores = " + total + "points");
zeroliken
Veteran Poster
1,106 posts since Nov 2011
Reputation Points: 201
Solved Threads: 162