package com.valerysamovich.java.patric.day1.examples;

public class ExampleSwitch {

	public static void main(String[] args) {
		
		String j = "Two";
		
		switch(j){
		
		case "Zero":
			System.out.println("Value is 0");
			break;
		case "One":
			System.out.println("Value is 1");
			break;
		case "Two":
			System.out.println("Value is 2");
			break;
		case "Three":
			System.out.println("Value is 3");
			break;
		default:
			System.out.println("No value");
			break;
		}
		
		int num = 2;
		switch(num){
			case 1:
				System.out.println("One");
				break;
			case 2:
				System.out.println("Two");
				break;
			default:
				System.out.println("No match found!");
		}

	}

}

@@ -78,17 +78,20 @@
 itch %7B%0A%0A
-%09
+    
 public s
@@ -123,21 +123,33 @@
 args) %7B%0A
-%09%09%0A%09%09
+        %0A        
 String j
@@ -162,29 +162,53 @@
 o%22;%0A
-%09%09%0A%09%09switch(j)%7B%0A%09%09%0A%09%09
+        %0A        switch(j)%7B%0A        %0A        
 case
@@ -212,27 +212,36 @@
 ase %22Zero%22:%0A
-%09%09%09
+            
 System.out.p
@@ -266,96 +266,144 @@
 %22);%0A
-%09%09%09break;%0A%09%09case %22One%22:%0A%09%09%09System.out.println(%22Value is 1%22);%0A%09%09%09break;%0A%09%09case %22Two%22:%0A%09%09%09
+            break;%0A        case %22One%22:%0A            System.out.println(%22Value is 1%22);%0A            break;%0A        case %22Two%22:%0A            
 Syst
@@ -432,28 +432,43 @@
 is 2%22);%0A
-%09%09%09break;%0A%09%09
+            break;%0A        
 case %22Th
@@ -473,19 +473,28 @@
 Three%22:%0A
-%09%09%09
+            
 System.o
@@ -523,83 +523,134 @@
 %22);%0A
-%09%09%09break;%0A%09%09default:%0A%09%09%09System.out.println(%22No value%22);%0A%09%09%09break;%0A%09%09%7D%0A%09%09%0A%09%09
+            break;%0A        default:%0A            System.out.println(%22No value%22);%0A            break;%0A        %7D%0A        %0A        
 int 
@@ -658,18 +658,24 @@
 um = 2;%0A
-%09%09
+        
 switch(n
@@ -683,130 +683,217 @@
 m)%7B%0A
-%09%09%09case 1:%0A%09%09%09%09System.out.println(%22One%22);%0A%09%09%09%09break;%0A%09%09%09case 2:%0A%09%09%09%09System.out.println(%22Two%22);%0A%09%09%09%09break;%0A%09%09%09default:%0A%09%09%09%09
+            case 1:%0A                System.out.println(%22One%22);%0A                break;%0A            case 2:%0A                System.out.println(%22Two%22);%0A                break;%0A            default:%0A                
 Syst
@@ -931,14 +931,23 @@
 %22);%0A
-%09%09%7D%0A%0A%09
+        %7D%0A%0A    
 %7D%0A%0A%7D

Update spaces