#include "pch.h"
#include <iostream>
#include <stdio.h>
#include "string.h"
#include <windows.h>
using namespace std;
struct Policlinica
{
const char *type;
string specialisty;
string terapevt;
const char *registratura;
int apteka;
};
void Polmvd(Policlinica *mvd)
{
mvd->type = "Муниципальная";
getline(cin, specialisty);
getline(cin, terapevt);
mvd->registratura = "Лаврова";
mvd->apteka = 10;
}
int main()
{
SetConsoleCP(1251);
SetConsoleOutputCP(1251);
setlocale(LC_ALL, "ru");
Policlinica Pmvd;
Polmvd(&Pmvd);
cout << endl << "Поликлиника - " << Pmvd.type << endl;
cout << "Специалисты - " << Pmvd.specialisty << endl;
cout << "Терапевт - " << Pmvd.terapevt << endl;
cout << "Регистратура - " << Pmvd.registratura << endl;
cout << "Аптека - " << Pmvd.apteka << " кабинет" << endl;
cout << "****************************************************************************" << endl;
cout << "Общее количество врачей специалистов:" << Pmvd.specialisty << "," << Pmvd.terapevt << endl;
system("pause");
return 0;
}