refactor this c code snippet, don't use bool, and keep cls

void removed(char list[MAXN][21], int *pn)
{
    search(list, pn);
    printf("Which Name you want to removed?(input a number) : ");
    int del, i;
    scanf("%d", &amp;del);
    if (del &gt;= 0 &amp;&amp; del &lt; *pn)
    {
        for (i = del + 1; i &lt; *pn; i++)
            strcpy(list[i - 1], list[i]);
        printf("Removed!\n");
        (*pn)--;
    }
    else
        printf("UnRemoved!\n");
    
    system("cls");
}