有个c++程序:#include <iostream>using namespace std;int main(){ int age; cout<<"Please enter your age:"; cin>>age;
if (age>=18) { cout<<"You can vote!"<<endl; } else { cout<<"\a\a\a\a\a\a\a\a\a\aToo young to vote!!"<<endl; } getchar(); system("pause");}怎么样使得它一直能输入年龄,然后一直判断下去呢?