/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package exerjava4; /** * * @author Student */ public class Main { /** * @param args the command line arguments */ public static void main(String[] args) { // TODO code application logic here int iValue= 11; switch(iValue){ case 1: System.out.println("iValue= Ace"); break; case 10: System.out.println("iValue= Ten" ); break; case 11: System.out.println("iValue= Jack"); break; case 12: System.out.println("iValue= Queen"); break; case 13: System.out.println("iValue= King" ); break; } } }