// // // If score>=90 out "A grade of A"; 80-90 out "B"; // otherwise, out "C or below" // // Use nested-if P.63 import java.util.Scanner; class ConvertGrades { public static void main(String[] args) { Scanner input = new Scanner(System.in); double score; System.out.print("Input the score: "); score = input.nextDouble(); if (score>=90) { System.out.println("You got an A.\n\n\n"); } else if (score>=80) { System.out.println("You got an B.\n\n\n"); } else { System.out.println("You got a C or below.\n\n\n"); } } }