code help. mine’s logic is not working in C language THANKS! Write a program that reads…

code help. mine’s logic is not
working
in C language THANKS!
Write a program that reads strings from stdin and computes the integer mean of their lengths.