int choices_selecter(char * Items[],int items,char * welcome_message ){ int choice = 0; do{ system("cls"); if ((*welcome_message) !=NULL){ printf("%s",welcome_message) } printf("Select An Option:\n"); int i; for (i=0; i"); if(choice < 1 || choice > items+1){ printf("Invalid choice...press any key to retry....\n"); fflush(stdin); getchar(); } }while(choice < 1 || choice > items+1); return choice; }