SOURCE CODE Program Mencari Bilangan pada ARRAY C++

ASSALAMUALAIKU WR. WB. Siang yang sejuk di temani hujan rintik rintik, sisa hujan lebat barusan. Admin akan membagikan kepada anda Source...

ASSALAMUALAIKU WR. WB.
Siang yang sejuk di temani hujan rintik rintik, sisa hujan lebat barusan. Admin akan membagikan kepada anda Source Code program yang masih berkaitan dengan ARRAY, kali ini kita akan mempelajari bagaimana mencari kedudukan nilai yang tersimpan pada ARRAY.
Dalam aplikasi ini admin akan memberikan contoh sebuah pencarian bilangan yang ada pada ARRAY menggunakan kordinat letaknya.
Oke Source Code yang admin bagikan adalah Source Code dari Program Mencari Bilangan pada ARRAY C++ 

Program Mencari Bilangan pada ARRAY C++

Interface
Program Mencari Bilangan pada ARRAY C++

Source Code
#include <stdio.h>
#include <conio.h>
#include <iostream.h>
void main (){
cout<<"\n\t\t\tNAMA    : MOHAMMAD SYAIFULLAH\n";
cout<<"\t\t\tNIM    : 121411091\n";
cout<<"\n\n    KODE INPUTAN\n";
cout<<" =================\n";
cout<<" [1.1] [1.2] [1.3]\n\n";
cout<<" [2.1] [2.2] [2.3]\n\n";
cout<<" [3.1] [3.2] [3.3]\n\n";
int a[3][3];
int i,j;
cout<<" Masukan Nilai Sembarang Matriks : \n";
for(i=0; i<3; i++)
{
for(j=0; j<3; j++)
{
cout<<" Matriks "<<(i+1)<<","<<(j+1)<<" : ";
cin>>a[i][j];
}
}
clrscr();
cout<<"\n KODE[Kolom.Baris]\n";
cout<<" =================\n";
cout<<" [1.1] [1.2] [1.3]\n\n";
cout<<" [2.1] [2.2] [2.3]\n\n";
cout<<" [3.1] [3.2] [3.3]\n\n";
cout<<"\n Matrik : \n";
for(i=0; i<3; i++) {
for(j=0; j<3; j++) {
cout<<" ";
cout<<a[i][j]<<"  ";
}
cout<<endl;

}
awal:
printf(" Masukkan Angka Baris dan Kolom yang dicari: \n");
int *b, baris, kolom;
printf(" Baris Ke: ");
scanf("%d", &baris);
b=a[baris-1];
printf(" Kolom Ke: ");
scanf("%d", &kolom);
printf("\n nilai yang anda cari adalah %d",*(b+kolom-1));
printf("\n --------------------------------");
balik:
cout<<"\n Apakah Anda Ingin Mengulang [Y/N] ? "  ;
char m ;
cin>>m;
if (m == 'y' || m== 'Y')
 {
 goto awal;
 }
else if (m == 'n' || m== 'N')
{
 goto akhir;
}
 else
{
 cout<<"Maaf Keyword Salah "<<endl;
 goto balik;
}
akhir:
cout<<"\n\n\t\t\t    \"TERMA KASIH\"";
getch();
}

COMMENTS

Nama

AJAX Android APLIKASI APLIKASI PROGRAMMING BASIC Bootstrap C Plus Plus Cisco Packet Tracer Codeigniter CRUD CSS Framework HTML Instaling Jaringan Komputer Java Java Script JavaScript JQUERY Pengetahuan PHP Programming Review Sekolah SOURCODE Teknologi TipsTrick Tutorial Video Yii
false
ltr
item
HI-CODDING: SOURCE CODE Program Mencari Bilangan pada ARRAY C++
SOURCE CODE Program Mencari Bilangan pada ARRAY C++
http://3.bp.blogspot.com/-GRcUFEzuvXI/VqWrJco9x5I/AAAAAAAAAPw/mApwFoCF9NM/s640/Screenshot_1.png
http://3.bp.blogspot.com/-GRcUFEzuvXI/VqWrJco9x5I/AAAAAAAAAPw/mApwFoCF9NM/s72-c/Screenshot_1.png
HI-CODDING
http://www.hi-codding.net/2016/01/source-code-program-mencari-bilangan-pada-array.html
http://www.hi-codding.net/
http://www.hi-codding.net/
http://www.hi-codding.net/2016/01/source-code-program-mencari-bilangan-pada-array.html
true
5256670903611799845
UTF-8
Not found any posts VIEW ALL Readmore Reply Cancel reply Delete By Home PAGES POSTS View All RECOMMENDED FOR YOU LABEL ARCHIVE SEARCH ALL POSTS Not found any post match with your request Back Home Sunday Monday Tuesday Wednesday Thursday Friday Saturday Sun Mon Tue Wed Thu Fri Sat January February March April May June July August September October November December Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec just now 1 minute ago $$1$$ minutes ago 1 hour ago $$1$$ hours ago Yesterday $$1$$ days ago $$1$$ weeks ago more than 5 weeks ago Followers Follow THIS CONTENT IS PREMIUM Please share to unlock Copy All Code Select All Code All codes were copied to your clipboard Can not copy the codes / texts, please press [CTRL]+[C] (or CMD+C with Mac) to copy