import java.util.Scanner;

public class Ifelse {

	
	public static void main(String[] args) {
		int score;
		char vote;
		
		System.out.println("Your score:");
		@SuppressWarnings("resource")
		Scanner keyboard = new Scanner(System.in);
		score = keyboard.nextInt();
		
		if (score >= 90)
			vote = 'A';
		else if (score >= 80)
			vote = 'B';
		else if (score >= 70)
			vote = 'C';
		else if (score >= 60)
			vote = 'D';
		else
			vote = 'F';
		
		System.out.println("Your score is: " + score);
		System.out.println("Your vote is: " + vote);

	}

}

@@ -20,16 +20,63 @@
 anner;%0A%0A
+/* Just a simple if-else statement example */%0A%0A
 public c
@@ -90,18 +90,16 @@
 else %7B%0A%0A
-%09%0A
 %09public 

Update IfElseExample.java