case 'C' : System.out.println("70 .. 79 Average"); System.out.println("Fair"); break; case 'D' : System.out.println("60 .. 69 Average"); System.out.println("Poor"); break; case 'F' : System.out.println("Below 60 Average"); System.out.println("Bad"); break; default : System.out.println("No Match Found"); } System.out.println(); } } Figure 5.14 Continued JAVA0514.JAVA Letter Grade ===>> B 80 .. 89 Average Good Figure 5.14 Continued JAVA0514.JAVA Enter Letter Grade ===>> C 70 .. 79 Average Fair JAVA0514.JAVA Enter Letter Grade ===>> d No Match Found
case 'C' : System.out.println("70 .. 79 Average"); System.out.println("Fair"); break; case 'D' : System.out.println("60 .. 69 Average"); System.out.println("Poor"); break; case 'F' : System.out.println("Below 60 Average"); System.out.println("Bad"); break; default : System.out.println("No Match Found"); } System.out.println(); } } Figure 5.14 Continued JAVA0514.JAVA Letter Grade ===>> B 80 .. 89 Average Good Figure 5.14 Continued JAVA0514.JAVA Enter Letter Grade ===>> C 70 .. 79 Average Fair JAVA0514.JAVA Enter Letter Grade ===>> d No Match Found
Text05-ControlStructures.docx