Thursday, November 26, 2015

contoh program string menghitung panjang kalimat

Contoh program string menghitung kata:

#include <iostream.h>
#include <conio.h>
#include <cstring.h>

main()
{
string kata="Hari ini kita mempelajari tentang operasi string";
cout<<kata<<endl;
int panjkal=kata.length();
cout<<panjkal<<endl;
getch ();
}

hasilnya listing:


1 comment:

  1. TOTO TOTO TOTO - The Guitar Art Institute
    Toto titanium gold TOTO TOTO titanium tent stakesedge titanium The Guitar Art Institute, LLC. $11.99. FOR SALE! "The titanium dioxide sunscreen Guitar Art Institute", "TOTO" (originally TOTO, “TOTO" titanium chords in Spanish) - FACTORY,

    ReplyDelete