Menghitung Panjang Karakter Nama

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!

Comments :

1
Malik said...
on 

I was searching on google and found this website. I is very informative and useful for me. programming tutorials

Post a Comment

 

Recent Post

Followers

Recent Comments