So you have code that reads a string, computes its length, and prints out the string and its length.

The thing is, your assignment is to also add some code that also computes
1. Total number of...