#include #define N 16 // don't forget to account for the \0 at the end void main() { char string[N]; int i, sum=0; printf("Write a sentence with . between words: \n"); scanf("%s", string); for (i = 0; i