#include #include struct people { char fam[15],nam[15],otch[15],ulica[20]; int dom; int kvart; long tel; }; void vivod (people &p) { printf("%11s%11s%11s%13s%7d%7d%10u\n",p.fam,p.nam,p.otch,p.ulica,p.dom,p.kvart,p.tel); }; // Вывод по индивидуальному заданию void vivod2 (people &p) { char s[50]; здесь ошибка s,"%s, д.%d, кв.%d",p.ulica,p.dom,p.kvart); printf("%11s%11s%11s%20s%10u\n",p.fam,p.nam,p.otch,s,p.tel); }; void vvod(people &p) { printf ("Фамилия: "); fflush (stdin); gets (p.fam); printf ("Имя: ");http://student.gomel.by fflush (stdin); gets (p.nam); printf ("Отчество: "); fflush (stdin); gets (p.otch); printf ("Улица: "); fflush (stdin); gets (p.ulica); printf ("Дом: "); fflush (stdin); scanf("%d",&p.dom); printf ("Квартира: "); fflush (stdin); scanf("%d",&p.kvart); printf ("Телефон: "); fflush (stdin); scanf("%u",&p.tel); }; int main (void) { int n; printf ("Введите кол-во записей="); scanf("%d",&n); people P[100]; for (int i=0; i