// Fill in the gaps in your knowledge

import java.util.Scanner;

class Sep2 {


	public static void main(String[] args) {

		System.out.println("Please enter an integer");

		Scanner kb = new Scanner(System.in);
		
		int num = kb.nextInt();

		System.out.println("You have entered the value " + num);

		// 2 classification of variable types: primitive and reference

		// primitive types: int, double, boolean, char

		// read in a decimal value

		System.out.println("Please enter a decimal value");

		double num2 = kb.nextDouble();
	
		System.out.println("You have entered the value " + num2);
		
		// Rule #2 - compile often

		System.out.println("Please enter your name");

		kb.nextLine();
		String name = kb.nextLine();

		System.out.println("Hello " + name);
		
		System.out.println("Please enter your middle initial");
		
		String str = kb.nextLine();

		char initial = str.charAt(0);

		System.out.println("Your initial is " + initial); 


	}
}
