PRG/420 Week 3 Java 3.15 LAB: Count input length without spaces, periods, or commas
Given a line of text as input, output the number of characters excluding spaces, periods, or commas.
Ex: If the input is:
Listen, Mr. Jones, calm down.
the output is:
Note: Account for all characters that aren’t spaces, periods, or commas (Ex: “r”, “2”, “!”).