/* Author: Diana Palsetia
 * Date: Sep 11, 2008
 * Description: Sample program to show cascading if-else if else
 */

public class Score {                       // Everything in Java is a class
  public static void main(String[] args) { // All programs must have main()
        
    int score = 49; 
    if (score > 90)
       System.out.println("Grade A");
     else if (score > 80)
       System.out.println("Grade B");
     else if (score > 65)
       System.out.println("Grade C");
     else if(score > 50)
       System.out.println("Grade D");
     else 
       System.out.println("F");
     
  }                                        // This marks the end of main()
}                                          // Marks the end of the Hello class

