C++,如图,我应该怎样才能循环调用这个对象数组的带参构造函数

本人很小白,谢谢大家啊

代码如下:如有帮助,请采纳一下,谢谢。

#include <iostream>
using namespace std;

class person
{
	int age,id;
public:
	person(){} //没有分号
	person(int a,int b)
	{
		age = a;
		id = b;
	}
	void show()
	{
		cout << age << "and" << id<<endl;
	}
};

int main()
{
	person student[4];
	int i;
	int age,id;
	for (i=0;i< 4;i++) //注意这里是4,不是5
	{
		cout << "请输入第" << i+1 <<"个学生的age和id:" ;
		cin >> age >> id;
		student[i] = person(age,id);
	}
	for (i=0;i<4;i++)
	{
		student[i].show();
	}
	return 0;
}