Our Sponsors

This is default featured slide 1 title

Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.This theme is Bloggerized by Lasantha Bandara - Premiumbloggertemplates.com.

This is default featured slide 2 title

Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.This theme is Bloggerized by Lasantha Bandara - Premiumbloggertemplates.com.

This is default featured slide 3 title

Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.This theme is Bloggerized by Lasantha Bandara - Premiumbloggertemplates.com.

This is default featured slide 4 title

Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.This theme is Bloggerized by Lasantha Bandara - Premiumbloggertemplates.com.

This is default featured slide 5 title

Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.This theme is Bloggerized by Lasantha Bandara - Premiumbloggertemplates.com.

Kamis, 26 April 2012

cara membuat kalimat selamat datang pada Blog

Pasti anda semua merasa penasaran ketika mengunjungi sebuah blog yang ada kalimat selamat datangnya ketika anda masuk ke blog tersebut....
disini asdam pengen berbagi <b>cara untuk membuat selamat datang pada blog</b>

caranya adalah :

    Login Ke Blogger.

    Klik Tata Letak.

    Klik Edit HTML.

    Kemudian Cari Kode <head> (Untuk mempermudah pencarian, gunakan CTRL + F) lalu Copy dan paste kode berikut di atasnya.

    <script language="JavaScript">alert("Selamat Datang");</script>
    Tulisan Selamat Datang yang berwarna merah bisa kamu ganti atau divariasi sesuai keinginan kamu, misal: Selamat Datang diblog saya, semoga kamu betah :)
    Kalo sudah, tinggal Simpan Template :)</head> (Untuk mempermudah pencarian, gunakan CTRL + F) lalu Copy dan paste kode berikut di atasnya. Tulisan Selamat Datang yang berwarna merah bisa kamu ganti atau divariasi sesuai keinginan kamu, misal: Selamat Datang diblog saya, semoga kamu betah :) Kalo sudah, tinggal Simpan Template :)

Kamis, 19 April 2012

game online

Rabu, 18 April 2012

Senin, 16 April 2012

contoh program array

bro ne w pengen berbagi tentang array :


#include <iostream.h>
#include <conio.h>

void main ()
{ int i,n;
  char nama[25][10],nip[10][10];
  int status [10];
  int gol[10];
  long int gp, tj,gatot;
  clrscr();
  cout<<" Jumlah Data :";cin>>n;
  for(i=1;i<=n;i++)
  {cout<<"Input data ke-"<<i<<endl;
    cout<<"....................."<<endl;
  cout<<" Masukkan Nip                 :";cin>>nip[i];
  cout<<" Masukkan Nama                :";cin>>nama[i];
  cout<<" Golongan                     :";cin>>gol[i];
  cout<<" Status  [Tetap=1; Kontrak=2] :";cin>>status[i];
  }
  cout<<"     DAFTAR GAJI PEGAWAI        "<<endl;
  cout<<"-------------------------------------------"<<endl;
  cout<<"NO  NIP    NAMA    GOL    STATUS    GAJI POKOK    TUNJANGAN  GAJI TOTAL"<<endl;
  cout<<"-------------------------------------------"<<endl;
  for(i=1;i<=n;i++)
 {if(status[i]==1)
    {
    if(gol[i]==1)
        {gp=1000000;
        tj=0.05*gp;}
    else if(gol[i]==2)
        {gp=1500000;
        tj=0.1*gp;}
    else if(gol[i]==3)
        {gp=2000000;
        tj=0.15*gp;}
&nbsp;   }
  else if (status[i]==2)
{
    if(gol[i]==1)
        {gp=1000000;
        tj=0;}
    else if(gol[i]==2)
        {gp=1500000;
        tj=0;}
    else if(gol[i]==3)
        {gp=2000000;
        tj=0;}
    }
  gatot=gp+tj;
  cout<<i<<"   "<<nip[i]<<"  "<<nama[i]<<"       "<<gol[i]<<"      "<<status[i]<<"     "<<gp<<"              "<<tj<<"     "<<gatot<<endl;
 }
}



Rabu, 11 April 2012

contoh if berkalang c++

contoh program if berkalang pada turbo c++
#include <iostream.h>
#include <conio.h>

void main ()
{ char nama[25];
  int gol,jk;
  float uhar,ulem;
  long int utot;
  clrscr();
  cout<<" Masukkan Nama :";cin>>nama;
  cout<<" Masukkan Golongan :";cin>>gol;
  cout<<" Jam Kerja :";cin>>jk;
    if(gol==1)
     {uhar=30000;
      if(jk>8)
        ulem=(jk-8)*3000;
      else
        ulem=0;}
     else if(gol==2)
     {uhar=35000;
      if(jk>8)
        ulem=(jk-8)*4000;
      else
        ulem=0;}
     else
     {uhar=40000;
      if(jk>8)
        ulem=(jk-8)*5000;
      else
        ulem=0;}
 utot=uhar+ulem;
  cout<<" Upah Harian :"<<uhar<<endl;
  cout<<" Upah Lembur :"<<ulem<<endl;
  cout<<" Upah Total :"<<utot<<endl;
  getch();
}