b. Write a program that accepts a sentence and calculate the number of letters and digits. Suppose the following input is DIGITS 3supplied to the program: hello world! 123 Then, the output should be: LETTERS 10 code example
Example: write a program that accepts a sentence and calculate the number of letters and digits
how to write a program that accepts a sentence and calculate the number of letters