#include <stdio.h>
int main(){
 char name[10];
int i,count;
scanf("%s",name);
for(i=0;name[i]!='\0';i++)
 
{ count=count+1;}
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: