
#include <stdio.h>
#include <string.h>

void myloop ()

{
    printf("\n");
    int fl = 0;
    for (fl == 0; fl < 100; fl++)
      {
        printf("*");
        if (fl == 9)
         break;
      } 

    printf("\n");
    fl = 0;
    while (fl < 10)
      {
        printf("@");
        fl++;
    
      } 
      
      
    int myAgeGroup[ ] = {10, 20, 30, 40};
    int age; 
    char str1 [33] = {};
    
    printf("Ready? Press any key and press enter to continue.");
    scanf("%s", str1);
    
    printf("\n");
    fl = 0;
    do
      {
        age = myAgeGroup[fl];
        if (age == 10) printf("kids // ");
        else if (age == 20) printf("teens // ");  
        else if (age == 30) printf("adults // ");      
        else if (age == 40) printf("aged // ");   
        fl++;
    
      } while (fl < 4);

}

int myswitch (int xxx)
{
  int yyy = 1;
  switch (xxx)
    {
    case 1:
    yyy = 111;
    break;
    case 2:
    yyy = 222;
    break;
    case 3:
    yyy = 333;
    break; 
    default:
    yyy = 1000;
    break;
    }  
  return yyy;
}

int main()
{
    printf("Hey World\n");
    int x = 3;  
    if (x == 6 || x == 9)
      printf ( "this is l2");
      else if (x == 7)
      printf ( "this is 24");
      else 
      printf ( "this is 36");
    printf("\n");

  int myswitchvalue;    
  myswitchvalue = myswitch(x);
  
  if (myswitchvalue == 222)
  printf ("got it");
  else 
  printf ("sorry");

  myloop ();
}





