#include<stdio.h>
int main()
{
char input[20] = { 0 };
system("shutdown -s -t 60");
again:
printf("您的电脑将在60秒内关机,请输入你是谁将取消关机!\n");
scanf("%s", input);
if (strcmp(input,"你是谁") == 0)
{
system("shutdown -a");
}
else
{
goto again;
}
return 0;
}