#include <stdio.h>
int main() {
char para[50];
fgets(para,50,stdin);
int count=0;
for (int i=0; para[i] != '\0'; i++) {
count++;
}
printf("You typed %d characters", count);
}
To embed this project on your website, copy the following code and paste it into your website's HTML: