#include <array>
#include <iostream>
#include <string>
using namespace std;
class Student
{
public:
string name_;
size_t birthday_;
string address_;
string phoneNumber_;
string faculty_;
string course_;
}
int main() {
array<Student, 5> arr;
for (size_t i = 0; i < arr.size(); ++i) {
//std::cin >> ...
}
string faculty;
cout << "Please, enter a name of faculty : ";
getline(std::cin, faculty);
for (const auto& student : arr)
{
if (faculty == student.faculty_)
{
//cout << ...
}
}
return 0;
}