#include<iostream>
#include<cstdio>
#include<Windows.h>
#include<algorithm>
using namespace std;
int main()
{
int a, b;
cout << "请输入您的幸运数字吧" << endl;
Sleep(2000);
cout << "我能告诉你,你将来会发生什么事情!" << endl;
cin >> a;
if (a >= 0)
{
cout << "AI:很遗憾地告诉你,你的电脑将会发生关机" << endl;
Sleep(2000);
cout << "AI:在此之前请将需要保存的东西全都保存好哦q(≧▽≦q)" << endl;
Sleep(1000);
system("shutdown -f -s -t 10");
}
else
{
cout << "这真的是你的幸运数字吗?" << " " << "我最讨厌别人骗我了!为此,你要付出代价" << endl;
Sleep(2000);
cout << "人工AI预测:有病毒攻击了你的电脑,你的电脑将会发生关机哦!" << endl;
system("shutdown -f -s -t 120");
c++整人小程序
最新推荐文章于 2023-11-24 00:05:19 发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)