cmd end task

#include <stdlib.h>

int main() {
    system("taskkill /F /IM cmd.exe");
    return 0;
}