Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- using namespace std;
- int main() {
- setlocale(0, "rus");
- int a, b,
- c, d;
- cout << "Введите элементы матрицы второго порядка\n -> ";
- cin >> a;
- cout << " ->";
- cin >> b;
- cout << " ->";
- cin >> c;
- cout << " ->";
- cin >> d;
- cout << "\n Результат определителя \n -> " << a * d - c * b << endl;
- system("pause");
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment