import java.util.Scanner;

class Sep10b {

	public static void main(String[] args) {

		Scanner kb = new Scanner(System.in);
		System.out.println("enter integer");
		int num = kb.nextInt();

		// == is the comparison operator for primitive types

		/*
		 * An if statement contains a Boolean expression within parenthesis
		 * and a block of code {}.

		 * The block of code in an if statement is executed (run by computer)
		 * only if the expression in the parenthesis is true. If the Boolean 
		 * expression is false, then the next else-if Boolean expression is 
		 * evaluated. If it evaluates to true, then it's block of code is.
		 * If no Boolean expression is true and there is an else block, then 
		 * the code in the else block is executed.
		 */


		if (num % 2 == 0) {
			System.out.println("This code runs if num is even");
		} 
		else if (num % 3 == 0) {
			System.out.println("This code runs if num is not even and num is a multiple of 3");
		} 
		else {
			System.out.println("This code runs if num is not even and is not a multiple of 3");
		}

		System.out.println("No matter what this code eventually runs");

	}
}


