algoritma kegiatan sehari hari C++

kasus 9 bab 1 alpro

#include <cstdlib>
#include <iostream>
#include <string.h>

/* run this program using the console pauser or add your own getch, system("pause") or input loop */
using namespace std;
int main(int argc, char** argv) {
char kata1[]="1.Sholat";
char kata2[]="2.Srapan pagi ";
char kata3[]="3.Mandi";
char kata4[]="4.berangkat kuliah";
char kata[]="5.belajar";
string kata5;

cout<<"Algoritma Kegiatan sehari-hari:\n";
cout<<kata1<<endl;
cout<<kata2<<endl;
cout<<kata3<<endl;
cout<<"\nDan yang ke 5 jangan sampai lupa:"<<endl;
cin>>kata5;
cout<<"\n5.BAHAGIA"<<endl;
system("PAUSE");
return EXIT_SUCCESS;
}

output :




EmoticonEmoticon