Page 912 of 1986 FirstFirst ... 412812862902908909910911912913914915916922962101214121912 ... LastLast
Results 13,666 to 13,680 of 29788
http://idgs.in/88004
  1. #13666
    -[nVc]-Kairxa's Avatar
    Join Date
    Feb 2008
    Location
    Negai no kara basho ni
    Posts
    2,215
    Points
    2,080.81
    Thanks: 101 / 91 / 48

    Default

    Quote Originally Posted by -LichKing- View Post
    #include <stdio.h>

    void main()

    {
    int hari=1;

    printf("Masukkan nomor: %d\n\n",hari);

    if(hari==1){
    printf("Hari senin");

    }

    else if(hari==2){
    printf("Hari selasa");

    }

    else if(hari==3){
    printf("Hari rabu");
    }

    else if(hari==4){
    printf("Hari kamis");
    }

    else if(hari==5){
    printf("Hari jumat");

    }

    else if(hari==6){
    printf("Hari sabtu");

    }

    else if(hari==7){
    printf("Hari minggu");

    }

    else{
    printf("Tidak ada hari ke : %d\n", hari);

    }


    getchar();

    }

    merusak sebentar!
    Spoiler untuk tes ini :
    Code:
    #include <stdio.h>
    #include <string.h>
    
    int main()
    {
        int jml_baris, tab1, tab2, jml_spasi, jml_bintang, pilihan, n;
        char ulang[5];
        char *keluar;
        do{
             do{
              printf("Berikut adalah pilihan untuk membuat segitiga: \n\n");
              printf("1. Segitiga siku-siku\n2. Segitiga sama kaki\n3. Segitiga siku-siku terbalik");
              printf("\n\nSilahkan masukkan pilihan Anda: ");
              scanf("%d", &pilihan);
              switch(pilihan){
                              case 1:
                                   printf("\nMasukkan jumlah baris: ");
                                   scanf("%d",&jml_baris);
                                   if(jml_baris > 0){
                                                for(tab1 = 0; tab1 < jml_baris; tab1++){
                                                         jml_spasi = jml_baris - (tab1 + 1);
                                                         jml_bintang = jml_baris - jml_spasi;
                                                         for(tab2 = 0; tab2 < jml_spasi; tab2++){
                                                                  printf(" ");
                                                                  fflush(stdin);
                                                                  }
                                                         for(tab2 = 0; tab2 < jml_bintang; tab2++){
                                                                  printf("*");
                                                                  }
                                                         printf("\n");
                                                         fflush(stdin);
                                                         }
                                                }
                                                getchar();
                                                n=0;
                                                break;
                              case 2:
                                   printf("\nMasukkan jumlah baris: ");
                                   scanf("%d",&jml_baris);
                                   if(jml_baris > 0){
                                                for(tab1 = 0; tab1 < jml_baris + (jml_baris - 1); tab1+=2){
                                                         jml_spasi = jml_baris + (jml_baris - 1) - (tab1 + 1);
                                                         jml_bintang = jml_baris + (jml_baris - 1) - jml_spasi;
                                                         for(tab2 = 0; tab2 < jml_spasi; tab2+=2){
                                                                  printf(" ");
                                                                  fflush(stdin);
                                                                  }
                                                         for(tab2 = 0; tab2 < jml_bintang; tab2++){
                                                                  printf("*");
                                                                  }
                                                         printf("\n");
                                                         fflush(stdin);
                                                         }
                                                }
                                                getchar();
                                                n=0;
                                                break;
                              case 3:
                                   printf("\nMasukkan jumlah baris: ");
                                   scanf("%d",&jml_baris);
                                   if(jml_baris > 0){
                                                for(tab1 = jml_baris + (jml_baris - 1); tab1 > 0; tab1-=2){
                                                jml_spasi = jml_baris + (jml_baris - 1) - (tab1 - 1);
                                                jml_bintang = jml_baris + (jml_baris - 1) - jml_spasi;
                                                            for(tab2 = jml_spasi; tab2 > 0; tab2--){
                                                                     printf(" ");
                                                                     fflush(stdin);
                                                                     }
                                                            for(tab2 = jml_bintang; tab2 >= 0; tab2--){
                                                                     printf("*");
                                                                     }
                                                            printf("\n");
                                                            fflush(stdin);
                                                            }
                                                }
                                                getchar();
                                                n=0;
                                                break;
                              default:
                                      printf("Masukkan salah, silahkan menginput ulang.\n");
                                      fflush(stdin);
                                      n=1;
                                      getchar();
                                      break;
                                      }
                                      }while(n==1);
              printf("Apakah Anda masih ingin menggunakan program ini? (Y/N)");
              scanf("%s",&ulang);
              keluar = strtok(ulang, " ");
              }while(strcmp(keluar,"N")!=0);
        getchar();
        return 0;
    }
    Gw merasa Civilization V adalah game yang bodoh.

  2. Hot Ad
  3. #13667
    RinaMikami's Avatar
    Join Date
    Jun 2008
    Location
    Trust
    Posts
    4
    Points
    4.80
    Thanks: 0 / 1 / 1

    Default

    Quote Originally Posted by ClinT*EastwooD View Post
    diquote lagi

  4. #13668
    Jkt-kOpaJa608's Avatar
    Join Date
    Jun 2008
    Location
    Hutan Pinus
    Posts
    8,041
    Points
    6,804.01
    Thanks: 48 / 241 / 137

    Default

    rina

  5. #13669
    Redloner's Avatar
    Join Date
    Sep 2008
    Location
    matter not as long as she is here with me
    Posts
    1,356
    Points
    1,612.40
    Thanks: 10 / 16 / 13

    Default

    I GET THE POOOOOOOOOOOOOOOOOWER OF LOOOVE!!!!


    Whenever I see her, I know that she is the only one for me.

  6. #13670
    RinaMikami's Avatar
    Join Date
    Jun 2008
    Location
    Trust
    Posts
    4
    Points
    4.80
    Thanks: 0 / 1 / 1

    Default

    Quote Originally Posted by Jkt-kOpaJa608 View Post
    rina
    hai smile:

  7. #13671
    Mello's Avatar
    Join Date
    Feb 2009
    Location
    Jakarta/Depok
    Posts
    11,007
    Points
    15,295.39
    Thanks: 164 / 188 / 154

    Default

    wakwkakwkawka cheat

    lu beli cash itemnya gemana ?
    Everlasting Memories project


    When Tsundere's being honest to you, it means she desperately in love with you and that time too she give you her heart, faith, & trust 100%

  8. #13672
    Redloner's Avatar
    Join Date
    Sep 2008
    Location
    matter not as long as she is here with me
    Posts
    1,356
    Points
    1,612.40
    Thanks: 10 / 16 / 13

    Default

    I wish I could break the barrier between imagination and reality


    Whenever I see her, I know that she is the only one for me.

  9. #13673
    ClinT*EastwooD's Avatar
    Join Date
    Oct 2006
    Location
    いちじょう まつり
    Posts
    2,204
    Points
    117.73
    Thanks: 4 / 7 / 6

    Default

    toho proj. 13 - the barrier between imagination and reality
    sepi...

  10. #13674
    RinaMikami's Avatar
    Join Date
    Jun 2008
    Location
    Trust
    Posts
    4
    Points
    4.80
    Thanks: 0 / 1 / 1

    Default

    Quote Originally Posted by ClinT*EastwooD View Post
    toho proj. 13 - the barrier between imagination and reality
    serius mirip gitu kalimatnya?

  11. #13675
    ClinT*EastwooD's Avatar
    Join Date
    Oct 2006
    Location
    いちじょう まつり
    Posts
    2,204
    Points
    117.73
    Thanks: 4 / 7 / 6

    Default

    sepi...

  12. #13676
    RinaMikami's Avatar
    Join Date
    Jun 2008
    Location
    Trust
    Posts
    4
    Points
    4.80
    Thanks: 0 / 1 / 1

    Default

    ah gitu deh

  13. #13677
    ClinT*EastwooD's Avatar
    Join Date
    Oct 2006
    Location
    いちじょう まつり
    Posts
    2,204
    Points
    117.73
    Thanks: 4 / 7 / 6

    Default

    sepi...

  14. #13678
    Redloner's Avatar
    Join Date
    Sep 2008
    Location
    matter not as long as she is here with me
    Posts
    1,356
    Points
    1,612.40
    Thanks: 10 / 16 / 13

    Default

    UFO = Unidentified Fantastic Object..

    Whenever I see her, I know that she is the only one for me.

  15. #13679

    Join Date
    Jun 2008
    Location
    Gabrielizm.co.cc
    Posts
    1,290
    Points
    567.70
    Thanks: 134 / 67 / 52

    Default

    Unidentified Fucking Object

  16. #13680
    ClinT*EastwooD's Avatar
    Join Date
    Oct 2006
    Location
    いちじょう まつり
    Posts
    2,204
    Points
    117.73
    Thanks: 4 / 7 / 6

    Default

    Quote Originally Posted by mattr3x View Post
    Unidentified Fucking Object
    barang bukti
    sepi...

Page 912 of 1986 FirstFirst ... 412812862902908909910911912913914915916922962101214121912 ... LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •