contoh program untuk masalah cocok atau ngak sama pasangan hidup


karya:*”VASKO EDO MINTER GULTOM”*

persembahan sama kakak di jerman ito RUSMA Br GULTOM

#include<iostream.h>

int main()
{

int i;
char brs,text[128];

cout<<“tuliskan nama pengantin:”<<endl;

i=0;

do
{

brs = cin.get();
text[i++] = brs;

}

while(brs!=’/n’);

cout<<“Darbin harus menuliskan dan memberitahu nama istri:”<<endl;
for(char j=0 ; j<128;j++)
{

if (text[j] =”)
break;

else
cout<<((int)text[j])<<endl;
}
return 0;

}

Tinggalkan Balasan

Please log in using one of these methods to post your comment:

Logo WordPress.com

You are commenting using your WordPress.com account. Logout / Ubah )

Gambar Twitter

You are commenting using your Twitter account. Logout / Ubah )

Foto Facebook

You are commenting using your Facebook account. Logout / Ubah )

Foto Google+

You are commenting using your Google+ account. Logout / Ubah )

Connecting to %s