Programnya
#include
#include
int main() {
int a, b, c, d;
int det;
cout << “nilai a : ”; cin >>a;
cout << “nilai b : ”; cin >>b;
cout << “nilai c : ”; cin >>c;
cout << “nilai d : ”; cin >>d;
det = (a*d)-(b*c);
cout << “determinan matriks ”<
return 0;
getch();
}
Tidak ada komentar:
Posting Komentar