More Related Content
DOCX
exercise of basic computer programming.docx
miftah88
DOCX
matrix operation using operator overloading
maria azam
Viewers also liked (17)
PDF
Entomological field techniques for mosquito and sand fly collection: a field ...
prakashtu
PPTX
Entomological field techniques for mosquito and sandfly
prakashtu
PPTX
HIV epidemiology and pathogenesis
prakashtu
PPT
Bacteriological analysis of drinking water by MPN method.
prakashtu
More from 1300018047 (12) Recently uploaded (19) PPTX
Program bicara Kecemerlangan tahun 6.pptx
g48401826
PPTX
bahan ajar materi latihan PPT STATISTIKA.pptx
lutfi882098
PPTX
Saint Peter Chrysologus, Bishop of Ravenna, Doctor of Homilies (Russian).pptx
Martin M Flynn
PPTX
fiqh thaharoh kajian umum selasa malam.pptx
robytyo
PDF
pelatihan rencana evakuasi team darurat.PDF
willys241
PPTX
bahan ajar PPT Pembahasan soal Fungsi kuadrat.pptx
lutfi882098
PDF
分科原得總分與級分對照表.pdf分科原得總分與級分對照表.pdf分科原得總分與級分對照表.pdf
中 央社
PPTX
perang diponegoro antara pasukan Pangeran Diponegoro dan pemerintah kolonial ...
shaqiltankian3
PPTX
HANAFI'S PPT.pptx HANAFI'S PPT HANAFI'S PPY HANAFI'S PP
trianda04
PDF
Handbook of Critical Care Medicine 1st Edition Senaka Rajapakse
bujljivk7348
PPTX
Irodori japan foundation Pemula Bab 10.pptx
Nursalam63
Tgs ppt alpro no.31. 3. Buatlah algoritma dan program untuk menghitung
determinan matriks berordo 2*2 .
Analisis:
Input
Proses
Output
: i,j,k,l
: Hasil<– i * l – j * k
: tulis (Hasil)
4. #include <iostream>
#include <string>
using namespace std;
int main()
{
int hasil,i,l,j,k;
cout <<"Masukkan i ="<< endl;
cin >> i;
cout <<"Masukkan bilangan j"<< endl;
cin >> j;
cout << "Masukan bilangan k="<< endl;
cin >> k;
cout <<"Masukan bilangan l="<< endl;
cin >> l;
hasil =i*l-j*k;
cout << hasil << endl;
system("PAUSE");
return EXIT_SUCCESS;
}