include iostream using namespace std void main int day int t0 300 t1 1

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
#include <iostream>
using namespace std;
void main()
{
int day = 1;
int t0 = 300,t1 = 150,t2 = 500,t3 = 200,t4= 5,t5 = 600;
int t6 = 100,t7 = 259,t8 = 1250,t9 = 50,t10 = 120,t11 = 12;
int s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;
// t0 - молоток, t1 - отвёртка, t2 - цемент, t3 - плоскогубцы, t4 - краска, t5 - топор, t6 - напильник
// t7 - киянка, t8 - дрель, t9 - вантуз, t10 - зубило, t11 - шуруповёрт
int a[6][12];
for (int i=0; i<=6; i++)
{
for(int j=0; j<=12; j++)
{
cout << "B geHb HoMeP: " << day << endl;
day++;
cout << "MoJloTKOB: "; cin >> t0;
s0 += t0 * a[i][j];
cout << "\nOTBEPTOK: "; cin >> t1;
s1 += t1 * a[i][j];
cout << "\nLl,eMeHTa: "; cin >> t2;
s2 += t2 * a[i][j];
cout << "\nnJloCKory6Ll,: "; cin >> t3;
s3 += t3 * a[i][j];
cout << "\nKPaCK1: "; cin >> t4;
s4 += t4 * a[i][j];
cout << "\nTonoPoB: "; cin >> t5;
s5 += t5 * a[i][j];
cout << "\nHan1JlbH1kOB: "; cin >> t6;
s6 += t6 * a[i][j];
cout << "\nK19lHoK: "; cin >> t7;
s7 += t7 * a[i][j];
cout << "\ngPeJle1: "; cin >> t8;
s8 += t8 * a[i][j];
cout << "\nBaHTy3oB: "; cin >> t9;
s9 += t9 * a[i][j];
cout << "\n3y6[1]Jl: "; cin >> t10;
s10 += t10 * a[i][j];
cout << "\nLLIyPynoBePTOB: "; cin >> t11;
s11 += t11 * a[i][j];
cout << "\n";
}
cout << "\n";
}
cout << "MoJloTK1 - " << s0 << \n";
cout << "OTBEPTK1 - " << s1 << \n";
.
.
.
}