Kamis, 15 Desember 2016

quote







link joint Yamaha Indonesia (Career)

https://docs.google.com/forms/d/e/1FAIpQLSeR2dcdzLpCDPLng-1HxilIYrnIRpJxENwVmhXjV_UjFQcL1g/viewform

GEROBAK FRIED CHICKEN (C++)

#include
#include
#include
#include
#include

main( )
{
int x ,a ,ulangi;
char jenis[6] = {'D','d','P','p','S','s'} ,*ket[6];
long bapot[6], jumhar[6] = {0}, hasat[6] = {2500 ,2000 ,1500};
long jumbar[6]= {0}, pajak[6], totba[6];
pesan:
clrscr( );
cout<<"\tGEROBAK FRIED CHICKEN\n";
cout<<"\t---------------------\n";
cout<<"\t Kode Jenis Harga\n";
cout<<"\t---------------------\n";
cout<<"\t [D] Dada  Rp. 2500\n";
cout<<"\t [P] Paha  Rp. 2000\n";
cout<<"\t [S] Sayap Rp. 1500\n\n";
cout<<"\t---------------------\n\n";
cout<<"\tBanyak Jenis : ";cin>>x;
jumbar[x] = 0;
    if (x <= 0)
   {
   cout<<"\n\t\tBanyak Jenis Tidak Boleh Null";
   goto akhir;
   }
   else
   {
        for(a = 1 ; a <= x; ++a)
       {
      cout<<"\tJenis Ke - "<
        cout<<"\n\tJenis Potong [D/P/S] : ";cin>>jenis[a];
        cout<<"\tBanyak Potongan : ";cin>>bapot[a];
      cout<<"\t------------------------\n";
           if (jenis[a] == 'D' || jenis[a] == 'd')
             {
               ket[a] = "Dada ";
               hasat[a] = 2500;
            }
           else if (jenis[a] == 'P' || jenis[a] == 'p')
             {
            ket[a] = "Paha ";
               hasat[a] = 2000;
            }
           else if (jenis[a] == 'S' || jenis[a] == 's')
             {
            ket[a] = "Sayap";
               hasat[a] = 1500;
             }
           else
               {
              cout<<"\nAnda Salah Masukan Kode Jenis Potongan.";
              hasat[a] = 0;
               }
      jumhar[a] = hasat[a] * bapot[a];
      jumbar [x] = jumbar[x] + hasat[a] * bapot[a];
          if (jumbar[x] == 0)
             {
             pajak[x] = 0;
             totba[x] = 0;
             }
          else
             {
                pajak[x] = jumbar[x] * 0.1;
                totba[x] = jumbar[x] + pajak[x];
             }
      }
   }
cout<<"\n\n\tGEROBAK FRIED CHICKEN\n";
cout<<"------------------------------------------------\n";
cout<<"No.| Jenis     | Harga     | Banyak | Jumlah\n";
cout<<"   | Potong    | Satuan    | Beli   | Harga\n";
cout<<"================================================\n";
    for (a = 1; a <= x; ++a)
    {
    cout<<" "<
    cout<<"      | "<
    }
cout<<"------------------------------------------------\n";
cout<<"\t\t\tJumlah Bayar  Rp. "<
cout<<"\t\t\tPajak 10%     Rp. "<
cout<<"\t\t\tTotal Bayar   Rp. "<
cout<<"\n\n\tAnda Ingin Memesan Lagi? [Y/T] = ";
ulangi = getche();
    if (ulangi == 'Y' || ulangi == 'y')
       goto pesan;
    else
       cout<<"\n\n\t\tTerima Kasih";
akhir:
getch( );
}

project BSI pembayaran Bioskop (Borland C++)


#include
#include
#include
main()
{
char kode,movie[30],jam,np[20],jam2[10],room[10],kursi[50];             // 12 VARIABEL, 2 tipe data (string dan integer)
int harga,jumbel,totbay,kembali,dibayar;                              

cout<<"===================================="<cout<<"         BSI CINEMA "<cout<<"===================================="<cout<<"A. RUDY HABIBIE (habibie ainun 2)"<cout<<" 1. Pukul 10.00 s/d 12.00"<cout<<" 2. Pukul 14.00 s/d 16.00"<cout<<" 3. Pukul 18.30 s/d 20.30"<cout<<"B. WARKOP DKI REBURN part 1 (jakrik bos)"<cout<<" 1. Pukul 10.00 s/d 12.00"<cout<<" 2. Pukul 14.00 s/d 16.00"<cout<<" 3. Pukul 18.30 s/d 20.30"<cout<<"C. ADA APA DENGAN CINTA 2"<cout<<" 1. Pukul 10.00 s/d 12.00"<cout<<" 2. Pukul 14.00 s/d 16.00"<cout<<" 3. Pukul 18.30 s/d 20.30"<cout<<"===================================="<cout<<"Input a/n Penonton         : ";cin>>np;
cout<<"Input No Kursi [1-50]      : ";cin>>kursi;
cout<<"Pilih judul Film [A/B/C]   : ";cin>>kode;
cout<<"Pilih Waktu nonton [1/2/3] : ";cin>>jam;

if (kode=='A'||kode=='a')                                                 //seleksi kondisi  (materi ada di slide 4/modul hal 66)
{
 strcpy(movie,"RUDY HABIBIE (habibie ainun 2)");                         //kode A,
 if (jam=='1')
 {
 strcpy(jam2,"Pukul 10.00 s/d 12.00");                                   //cetak perintah pernyataan
 strcpy(room,"Bioskop 1");
 harga=45000;
 }
 else if (jam=='2')
 {
 strcpy(jam2,"Pukul 14.00 s/d 16.00");                                  //perintah cetak waktu nonton
 strcpy(room,"Bioskop 1");                                              //perintah cetak room Bioskop
 harga=45000;
 }
 else if (jam=='3')
 {
 strcpy(jam2,"Pukul 18.30 s/d 20.30");
 strcpy(room,"Bioskop 1");
 harga=45000;
 }

}
if (kode=='B'||kode=='b')                                               //kode B
 {
 strcpy(movie,"WARKOP DKI REBURN part 1 (jakrik bos)");
 if (jam=='1')
 {
 strcpy(jam2,"Pukul 10.00 s/d 12.00");
 strcpy(room,"Bioskop 2");
 harga=45000;
 }
 else if (jam=='2')
 {
 strcpy(jam2,"Pukul 14.00 s/d 16.00");
 strcpy(room,"Bioskop 2");
 harga=45000;
 }
 else if (jam=='3')
 {
 strcpy(jam2,"Pukul 18.30 s/d 20.30");
 strcpy(room,"Bioskop 2");
 harga=45000;
 }
}
if (kode=='C'||kode=='c')                                               //kode C
{
 strcpy(movie,"ADA APA DENGAN CINTA 2");
 if (jam=='1')
 {
 strcpy(jam2,"Pukul 10.00 s/d 12.00");
 strcpy(room,"Bioskop 3");
 harga=45000;
 }
 else if (jam=='2')
 {
 strcpy(jam2,"Pukul 14.00 s/d 16.00");
 strcpy(room,"Bioskop 3");
 harga=45000;
 }
 else if (jam=='3')
 {
 strcpy(jam2,"Pukul 18.30 s/d 20.30");
 strcpy(room,"Bioskop 3");
 harga=45000;
 }                                                                // sampai sini
}

clrscr();
cout<<"===================================="<cout<<"\n              BSI CINEMA            ";
cout<<"\n====================================";
cout<<"\nTanggal          : Senin,31/oktober";                      //outputan 1
cout<<"\nAtas Nama        : "<cout<<"\nNo Kursi         : "<cout<<"\nJudul Film       : "<cout<<"\nWaktu            : "<cout<<"\nRuang            : "<cout<<"\n====================================";
cout<<"\nInput Jumlah tiket  :";cin>>jumbel;                         //inputan 2
cout<<"\n====================================";
totbay=harga*jumbel;
cout<<"\nTotal yang harus dibayarkan :Rp "<cout<<"\n====================================";
cout<<"\nUang yang dibayar     :Rp ";cin>>dibayar;                     //INPUT 3
kembali=dibayar-totbay;
cout<<"\nkembalian             :Rp "<cout<cout<<"\n            TERIMAKASIH    ";
cout<<"\n        SELAMAT MENYAKSIKAN ";                                //selesai
getch();
}

Kamis, 29 September 2016

Daily activities [tugas bhs. Inggris]

Daily activities
Saya akan menceritakan kegiatan sehari-hari
I will tell of daily activities, good listening
1.      Saya bangun jam 04.00 setiap hari [i get up at 04 every day]
2.      Lalu saya merapihkan tempat tidur [then i make the bed]
3.       lalu saya mandi dan juga berwudhu untuk melaksanakan sembahyang [then I bathe and perform ablutions for prayer implement]
4.       saya berangkat ke mesjid bersama adik dan kakak untuk shalat shubuh bersama [I went to a mosque with his sister and brother for the shubuh prayer together]
5.       selesai dari mesjid, saya buka laptop untuk mengerjakan tugas-tugas kuliah yang belum seselai [finished of the mosque, I open the laptop to work on assignments unfinished]
6.      jam 06.00, saya memberi makan hewan peliharaan saya di kandang [a six o’clock, i feed my pet at the cage]
7.      saya suka dengan binatang-binantang sejak kecil, binatang yang saya pelihara dirumah seperti ayam kampung, burung merpati, marmut, kucing dan ikan hias [I like the animals since childhood, the animals that I care at home such as chicken, pigeons, guinea pigs, cats and ornamental fish]
8.      setiap akhir pekan di pagi hari, saya lari pagi bersama istri saya. kadang-kadang mampir ke pasar pagi untuk membeli kebutuhan dapur [every weekend in the morning, I go jogging with my wife. sometimes drop in to the morning market to buy necessities kitchen]
9.      jam 02 siang, ada jadwal latihan futsal bersama teman kampus [02 o'clock noon, there futsal training schedules with friends campus]
10.  di sore hari, saya di belakang rumah melihat binatang peliharaan dan memberi makan kembali [in the afternoon, I was behind the house saw pets and feed back]
11.  sekian cerita singkat kegiatan sehari-hari saya, terimakasih atas perhatiannya [so little stories of my everyday activities, thank you for your attention]
Thank you