IP

Program Array


#include <cstdlib>
#include <iostream>

  using namespace std;
   
  int main(){
     const int bulan = 12;          
     const int max = 20;          
     char nama[bulan][max] = { "Januari", "Februari", "Maret", "April", "Mei", "Juni", "Juli",
                              "Agustus", "September", "Oktober", "November", "Desember"  };
     for(int j=0; j<bulan; j++)
        cout<< nama[j] <<endl<<endl;
       
    cout<<endl;
    system("PAUSE");
    return EXIT_SUCCESS;
}


| Free Bussines? |

No comments:

Post a Comment