Tgs ppt alpro no.3

60 %
40 %
Information about Tgs ppt alpro no.3
Education

Published on March 9, 2014

Author: 1300018047

Source: slideshare.net

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)

ALGORITMA ALJABAR DEKLARASI i,j,k,l : integer (inputan) Hasil : integer (output) DESKRIPSI Read (i,j,k,l) Hasil<– i * l – j * k

#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; }

Add a comment

Related presentations

Related pages

m1.app111.org

AYJ Australian Masters Yield Fund No 3 Limited AYK Australian Masters Yield Fund No 4 Limited AYM Altius Mining Limited AYN Alcyone Resources Ltd
Read more