public class HelloEnumsWithMethods {
	
	enum Coins {
		PENNY(1), NICKLE(5), DIME(10), QUARTER(25);
		private static final float INFLATION_SINCE_1920 = 12.0f;
		private int value;
		
		private Coins(int value) {
			this.value = value;
		}
		
		public double getValueInflatedSince1920() {
			return this.value * INFLATION_SINCE_1920 / 100;
		}
	}
	
	public static void main(String...args) {
		System.out.println("Hello Enums with Methods!");
		
		Coins coin = Coins.QUARTER;
		
		System.out.printf("A %s in 1920 was the equivalent of $%.2f in 2016\n", 
			coin, coin.getValueInflatedSince1920());
		
		System.out.printf("A %s in 1920 was the equivalent of $%.2f in 2016\n", 
			Coins.DIME, Coins.DIME.getValueInflatedSince1920());		
	}
}

@@ -30,19 +30,21 @@
 thods %7B%0A
-%09%0A%09
+%0A    
 enum Coi
@@ -48,18 +48,24 @@
 Coins %7B%0A
-%09%09
+        
 PENNY(1)
@@ -100,18 +100,24 @@
 ER(25);%0A
-%09%09
+        
 private 
@@ -165,18 +165,24 @@
  12.0f;%0A
-%09%09
+        
 private 
@@ -192,21 +192,25 @@
  value;%0A
-%09%09%0A%09%09
+%0A        
 private 
@@ -228,19 +228,28 @@
 alue) %7B%0A
-%09%09%09
+            
 this.val
@@ -264,17 +264,27 @@
 ue;%0A
-%09%09%7D%0A%09%09%0A%09%09
+        %7D%0A%0A        
 publ
@@ -323,19 +323,28 @@
 920() %7B%0A
-%09%09%09
+            
 return t
@@ -387,18 +387,29 @@
 00;%0A
-%09%09%7D%0A%09%7D%0A%09%0A%09
+        %7D%0A    %7D%0A%0A    
 publ
@@ -441,16 +441,17 @@
 g...
+ 
 args) %7B%0A
 %09%09Sy
@@ -446,18 +446,24 @@
 args) %7B%0A
-%09%09
+        
 System.o
@@ -503,21 +503,25 @@
 ods!%22);%0A
-%09%09%0A%09%09
+%0A        
 Coins co
@@ -540,21 +540,25 @@
 UARTER;%0A
-%09%09%0A%09%09
+%0A        
 System.o
@@ -621,20 +621,16 @@
 016%5Cn%22, 
-%0A%09%09%09
 coin, co
@@ -666,13 +666,17 @@
 ));%0A
-%09%09%0A%09%09
+%0A        
 Syst
@@ -747,12 +747,8 @@
 n%22, 
-%0A%09%09%09
 Coin
@@ -754,16 +754,32 @@
 ns.DIME,
+%0A               
  Coins.D
@@ -815,12 +815,13 @@
 ());
-%09%09%0A%09
+%0A    
 %7D%0A%7D%0A

Update HelloEnumsWithMethods.java