Membalikan Kata / Kalimat

Posted: October 12, 2010 in Algoritma & Struktur Data
Tags:

#include
#include
#include

void main()
{
char kata[200];
cout<<"Masukan Kata yang akan di ubah : "<<endl;
cout<<"\t";
cin.getline(kata, sizeof(kata));

cout<<endl;
strrev(kata);
cout<<"Setelah Diubah Menjadi: \n";
cout<<"\t"<<kata;cout<<endl;
cout<<endl;
cout<<endl;
cout<<"\t Created By "<<endl;
cout<> || <> || <<- "<<endl;
cout<<"\t Algoritma & Struktur Data ";
getch();
}

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s