测阳寿用的
#include <windows.h>
#include<bits/stdc++.h>
using namespace std;
string a;
int main(){
srand(time(0));
system("mode 1000,800");
system("color 0a");
while(1){
cout<<"请输入您的名字"<<endl;
cin>>a;
cout<<a<<"的寿命是"<<rand()%120<<"岁"<<endl<<endl;
}
return 0;
}