#include <iostream>
#include <cmath>
using namespace std;
int main ()
{
setlocale(LC_ALL, "Russian");
int i, j, a, b, c, summa;
float d, e, SX[10], SY[6];
cout << "Введите значения a, b, c, e, d: " << endl;
cin >> a >> b >> c >> d >> e;
float mas[10][6] = {{0.02, 0.01, 0.03, 0.01, 0.01, 0.02, 0.01, 0.02, 0.01, 0.01},
{0.01, 0.02, 0.01 * a, 0.005, 0.02, 0.01, 0.02, 0.01, 0.02, 0.02},
{0.03, 0.01, 0.02, 0.01, e, 0.02, 0.01, 0.02, 0.01, 0.03},
{0.03, 0.02, 0.02, 0.005, 0.01, 0.03, 0.01, 0.01 * a, 0.02, 0.03},
{0.01, 0.01, 0.01 * b, 0.01, 0.006, 0.02, 0.01, 0.02, 0.01, 0.01},
{0.02, 0.02, 0.02, 0.01, d, 0.03, 0.02, 0.01 * c, 0.02, 0.02}};
float X[10] = {1, 1+b, 5, 5+b, 9, 10, 10+b, 14, 15, 16};
float Y[6] = {2, 1+a, 4+b, 8, 8+a, 12};
//Вывод матрицы
for(i=0; i<10; i++)
{
for(j=0; j<6; j++)
{
cout << mas[i][j] << " ";
}
cout << endl;
}