code
#include <iostream>
using namespace std;
int main()
{
//배열역시 C와 동일하다
const int ARRAYSIZE = 3;
int founding[ARRAYSIZE];
founding[0] = 918;
founding[1] = 1392;
founding[2] = 1948;
cout << "고려 건국 연도 : " << founding[0] << endl;
cout << "조선 건국 연도 : " << founding[1] << endl;
cout << "한국 건국 연도 : " << founding[2] << endl;
return 0;
}