Source Code
#include
#include
#include
void main() {
char Nama[20];
int n;
printf("Inputkan Nama : ");
scanf("%s", &Nama);
n = strlen(Nama);
clrscr();
printf("Namanya adalah : %s\n", Nama);
printf("Panjang Karakter adalah : %i\n", n);
getch();
}
Selamat Mencoba!
Menghitung Panjang Karakter Nama
Original by : Kang Agunk.
Labels:
Source Code,
String,
Tips C/C++
Subscribe to:
Post Comments (Atom)
I was searching on google and found this website. I is very informative and useful for me. programming tutorials