This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
Write a program that prompts a professor to input grades for different course for 10 students. Prompt the professor to enter one grade at a time using the prompt � Enter name for student # 1� and �Enter grade #1.� Verify that the professor enters only A, B, C, D, or F. use variables for the student numbers (1 through 10) and grade numbers (1 through 5).
As a side note, Sun has published some recommended coding conventions. In particular, they suggest that class names begin in upper-case and use CamelCase to separate words in the name. On the other hand, variable and method names start with lower-case and still use camelCase to separate words. Typically underscores are only used in the names of static final member variables which are named in all UPPER_CASE.
If you follow some of these basic conventions, it will make it easier for us to read your code. If you are interested in learning more about Sun's coding conventions, go here. Although I don't think it is important to completely adopt all of these conventions, at the very least, you need to pick a set of conventions and be consistent. The naming convention that I described above is the most important to me because it is so broadly used.