geekbrains_cpp_difficult_mo.../lesson_3/exercise_3.cpp

27 lines
358 B
C++
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/*
* exercise_3.cpp
*
* Created on: 30 сент. 2021 г.
* Author: alexander
*/
#include <iostream>
#include <iomanip>
#include "exercise_3.hpp"
#include "exercise_2.hpp"
using namespace std;
void exercise_3()
{
Matrix m(4);
m.fillRandom();
for (const double &i : m)
{
cout << setw(5) << i;
}
cout << endl;
}