Загрузка данных


#include <iostream>
#include <vector>

using namespace std;

template <class T>
class Person {
	T id;
	string name;
public:
	Person(T i, string n) : id{ i }, name{ n } {};
	void print()
	{
		cout << id << '\t' << name << endl;
	}
};
class Employee : Person<T>
{
	string company;
public:
	Employee(T i, string n, string cmp) : Person <T>(i, n) { company = cmp; }
	void print() 
	{
		Person<T>:print();
		cout << company << endl;
	}
   
};
template <class T>
class Student : Person<T>
{
	string group;
public:
	Student(T i, string n, string cmp) : Person<T>(i, n) { group = cmp; }
	void print()
	{
		Person<T>::print();
		cout << group << endl;
	}
};
int main()
{
	bool a = true;//ДЗ ВЧЕРАШНЕЕ
	bool b = false;
	if (a > b)
		cout << a;
	else
		cout << b;
}