想要判断、筛选并输出符合条件的年龄,但是用Dev运行时没有任何内容,换用VS6.0则显示有error,求教

图片说明

原代码:
// 招聘者.cpp : Defines the entry point for the application.
//

#include
using namespace std;

int age()
{

int a;
cout<<"iInput:"< cin >> a;

if (a>=23 && a<=30)
cout<<"应聘者"<<a<<"岁,符合条件。"<<endl;
else
cout<<"应聘者"<<a<<"岁,不符合条件。"<<endl;
}

int main()
{
int age();
}

把main里面的int age();
修改为
age();

或者是
int n = age();

问题解决的话,请点下采纳。