Berlangganan

About Me


contoh 28

// program untuk mencetak angka
# include <iostream.h>
void main()
{
    int i;

    for(i=1; i<=10;i++)
    cout<<i<<" "<<endl;
}

output

1
2
3
4
5
6
7
8
9
10

Related Posts :

  • POINTER Hasil Running: Input jumlah elamen(maksimum 5) : 3 x[1][1] = 25 x[1][2] = 56 x[1][3] = 12 x[2][1… Read More...
  • KONSEP DASAR BAHASA C KONSEP DASAR BAHASA C 3 Tujuan Instruksi Umum (TIU): Mampu menghasilkan program yang mengguna… Read More...
  • KONSEP TIPE DATA KONSEP TIPE DATA 4 Tujuan Instruksi Umum (TIU): Mampu mendeklarasikan variabel dan konstanta d… Read More...
  • ARRAY ARRAY 12 Tujuan Instruksi Umum (TIU): Mampu memahami konsep tipe data array dan mampu mengimpl… Read More...
  • FUNGSI REKURSIF FUNGSI REKURSIF 11 Tujuan Instruksi Umum (TIU): Mampu memahami konsep pemrograman modular dan … Read More...

0 Response to "contoh 28"

Post a Comment