C++ :
#include <iostream>
using namespace std;
/* run this program using the console pauser or add your own getch, system("pause") or input loop */
int main(int argc, char** argv) {
int tgl,bln,thn;
cout<<"Masukkan Tanggal : ";
cin>>tgl;
cout<<"Masukkan Bulan : ";
cin>>bln;
cout<<"Masukkan Tahun : ";
cin>>thn;
cout<<"\n\t"<<tgl<<"-"<<bln<<"-"<<thn<<endl;
return 0;
}
Output :
Raptor :