ILMU TAMBAHAN MAHASISWA

MAHASISWA YESS!!!

Senin, 14 April 2014

Contoh Program Matrix Dimensi 2 C++

#include<iostream>
#include<conio.h>
using namespace std;
main()
{
int matrix[3][3];
int i,j;

for(i=0;i<=2;i++)
{
for(j=0;j<=2;j++)
{
cout<<"Masukkan Nilai Angka Pada Baris Ke "<<i<<" dan Kolom Ke "<<j<<" : ";
cin>>matrix[i][j];
}
cout<<endl;
}
for(i=0;i<=2;i++)
{
for(j=0;j<=2;j++)
{
cout<<matrix[i][j]<<" ";
}
cout<<endl;
}
getch();
}

Diposting oleh Unknown di 05.39
Kirimkan Ini lewat EmailBlogThis!Bagikan ke XBerbagi ke FacebookBagikan ke Pinterest

Tidak ada komentar:

Posting Komentar

Posting Lebih Baru Posting Lama Beranda
Langganan: Posting Komentar (Atom)

Mengenai Saya

Unknown
Lihat profil lengkapku

Arsip Blog

  • ▼  2014 (18)
    • ▼  April (18)
      • Konektivitas Processor dengan Memory
      • Kegunaan Macam Macam Microsoft Office
      • Contoh Program If Else Tebak Angka Bahasa C
      • Contoh Program Do While Bahasa C
      • Contoh Program Berat Badan Bahasa C
      • Contoh Program Kelulusan If Else Bahasa C
      • Contoh Program If Else Lalu Lintas bahas C
      • Contoh Program Switch Case Chanel TV Switch Case ...
      • Contoh Program Kalkulator Switch Case dan If Else...
      • Contoh Program Penjumlahan dan Pengurangan Switch ...
      • Contoh Program Matrix Dimensi 2 C++
      • Contoh Program If Else looping C++
      • Pengertian dan Fungsi Menu Variable View SPSS
      • LCD DAN LED
      • Contoh Program Class Public C++
      • Contoh Program Rekursif Faktorial C++
      • Contoh Program Array Minimun C++
      • Contoh Program Array Maximum C++
Tema Perjalanan. Diberdayakan oleh Blogger.