/* you can copy and paste the java code into https://www.onlinegdb.com/online_java_compiler */

public class Main
{

  static void submain (int ddlimit) {
  
   int dd;
   String[ ]  classmate = {"Mr T", "Mr G", "Ms W", "Mrs H", "Mrs F"};

   System.out.println ("Now we will print some names.");
    
    for (dd = 0; dd < ddlimit; dd++)
      {
       switch (dd)
       {
        case 0:
 	System.out.print ("um... ");       
        case 1:
	System.out.print ("Oh ");       
        case 2:
	System.out.print ("Oh man ");       
        case 3:
	System.out.print ("wow ");       
        case 4:
	System.out.print ("well... ");       
       }
      System.out.println (classmate [dd]); 
      }
  } 

  static int submain2 (int numbertimes2) {

   return numbertimes2 * 2;
  }


    public static void main(String[] args) {
    
    int a = 1;
    int b = 11;
    int cc = 0;
    int ee;

    
    while (cc < b)
     {
        cc = cc + a;
        
        if (cc != 2) 
        {
            System.out.print("Hey world! Integer value is ");
            System.out.println(cc);
        }
            else 
            System.out.println("\n I was told to show something different when cc is 2");          
     }

   submain(5);     
   ee = submain2(33);
   System.out.println(ee);

  }
}



