Memindahkan data Array A ke B

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

#include
#include
#include

void main()
{
char kata1[101];
char kata2[101];

cout<<“1. Masukkan Elemen A : “;
cin.getline(kata1, sizeof(kata1));

strcpy(kata2,kata1);

cout<<endl;
cout<<“\tElemen A   : “<<kata1<<endl;
cout<<“\tElemen B   : “<<kata2<<endl;
cout<<endl;
cout<<endl;
cout<<“\t            Created By            “<<endl;
cout<<“\t ->> || <<- Kelompok 3 ->> || <<- “<<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