#include <stdio.h>
#include <stdlib.h>
#define cls() system("cls")
int main(){
    int tipo = 0;
 do{
 
 //stem("cls");
 cls();
 
 printf("Opcion 1: \n");
 printf("Opcion 2: \n");
 printf("Salir   : ");
 printf("\nSeleccione opcion: ");
// tipo = getchar();
   scanf("%d",&tipo);
   fflush(stdin); 
    switch(tipo){
        case 1:
             
        break;
        
        case 2:
             cls();
             printf("Hola!");
             getchar();
        break;
        
        case 3:
        
        break; 
             
                                   
    }
}while(tipo!=3);  
  
    fflush(stdin);
    getchar();
    return 0;   
}
