#include <stdio.h> #include <string.h> #include <math.h> int main() { char c[100]; while(scanf("%s",c + 1) != EOF){ int l = strlen(c) - 1; double cnt = 0; for(int i = 1;i <= l;i ++){ int n = c[i] - '0'; // printf("%lf ", n ...