Есть ответ 👍

НАПИСАТЬ ОПИСАНИЕ КОДА , КАК ОН БЫЛ НАПИСАН , ВСЕ ФУНКЦИИ #include #include #include #include #include #include #include #include #define n 10 using namespace std; struct FIO { char surname[100]; char name[100]; char fatherland[100]; }; struct Data { int day, month, year; }; struct Pasport { int num; Data bday; string citi; string street; int home, sq; }; struct Hotel { FIO fio; Pasport pas; char cel[100]; Data reg; Data otzd; double sum; }; void Show(Hotel a[n]) { cout > dd >> mm >> yy; //1 Ввод с клавиатуры данных в массив, состоящий из 10 структур типа Hotel for (int i = 0; i > a[i].fio.fatherland >> a[i].fio.name >> a[i].fio.surname; cout > a[i].pas.num; cout > a[i].pas.bday.day >> a[i].pas.bday.month >> a[i].pas.bday.year; cout > a[i].pas.citi >> a[i].pas.street >> a[i].pas.home >> a[i].pas.sq; cout > a[i].cel; cout > a[i].reg.day >> a[i].reg.month >> a[i].reg.year; cout > a[i].otzd.day >> a[i].otzd.month >> a[i].otzd.year; cout > a[i].sum; }

226
252
Посмотреть ответы 1

Ответы на вопрос:


налить воду в кувшин 8 л., вылить 3л. в другой кувшин, в 8 литровом кувшине останется 5 литров.

вылить воду из 3л. кувшина и налить в него из 8 литрового кувшина(в нем сейчас 5л.) останется в нем 2 литра.

вылить воду из 3л. кувшина и налить в него из 8 литрового остаток (2 литра).

налить полный 8 литровый кувшин и отлить в 3 литровый(в котором сейчас 2 л.) не достающий 1 литр и в 8 литровом кувшине останется 7 литров.

Популярно: Информатика