#include <iostream>using namespace std;int main (){ int var1; char var2[10]; cout << "Address of var1 variable: "; cout << &var1 << endl; cout << "Address of var2 variable: "; cout << &var2 << endl; return 0...
7/31/13
Contoh Program Menghitung Bulan C++
#include<iostream.h>#include<string.h>main(){char nm[20],pw[10],hr[10],bln[10];cout<<"user name : ";cin>>nm;cout<<"password : ";cin>>pw;if ((strcmp(nm,"syamsir")==0) && (strcmp(pw,"1234")==0)){ cout<<"~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"<<endl; cout<<"| | | | | | | | | | | | | | | | STRUKTUR DATA | | | | | | | | | | | | | | | |"<<endl; cout<<"| | | | | | | | | | | | | | | | Menghitung Bulan | | | | | | | | | | | | | | | |"<<endl; cout<<"~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"<<endl;cout<<"^_^Nama...
Pengertian STACK
Normal
0
false
false
false
IN
X-NONE
X-NONE
/* Style Definitions */
table.MsoNormalTable
{mso-style-name:"Table Normal";
mso-tstyle-rowband-size:0;
mso-tstyle-colband-size:0;
mso-style-noshow:yes;
mso-style-priority:99;
mso-style-parent:"";
mso-padding-alt:0cm...
Pengertian ARRAY
Normal
0
false
false
false
IN
X-NONE
X-NONE
/* Style Definitions */
table.MsoNormalTable
{mso-style-name:"Table Normal";
mso-tstyle-rowband-size:0;
mso-tstyle-colband-size:0;
mso-style-noshow:yes;
mso-style-priority:99;
mso-style-parent:"";
...