#include <stdio.h>
int main(){
 char name[10];
int i=0,count=0;
scanf("%s",name);
while(name[i]!='\0')
{ count++;
i++;}
printf("%d",count);
}

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: