#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <windows.h>
int main()
{
    char write[100];
    system( "shutdown -s -t 60");
th:
    printf( "快说你爱凤姐!不然就关机!\n" );
    scanf( "%s", write);
    if (strcmp(write, "我爱凤姐" ) == 0)
    {
        printf( "哈哈,你这个变态~\n" );
        system( "shutdown -a");
        system("pause");
    }
    else
    {
        printf( "不想说?等着关机吧哼哼!\n" );
        goto th;
    }
    return 0;
}

posted on 2018-05-13 15:51  zitian246  阅读(173)  评论(0)    收藏  举报