Code:
if(sel==1){
do{
system("cls");
printf("Input a string: ");
scanf("%s",&string[s]);
s++;
do{
system("cls");
printf("String successfully added\n");
printf("Enter another string?\n\n");
printf("1 - Yes\n");
printf("2 - No\n");
scanf("%d",&rep);
}while(rep!=1&&rep!=2);
}while(rep==1);
}

