Question: java please Given a line of text as input, output the number of characters excluding spaces, periods, exclamation points, or commas. Ex: If the input
java please

Given a line of text as input, output the number of characters excluding spaces, periods, exclamation points, or commas. Ex: If the input is: Iisten, Mr. Jones, calm down. the output is: 21 Note: Account for all characters that aren't spaces, periods, exclamation points, or commas (Ex "r", "2", "?"). 6.16.1: LAB: Count inpuit length without spaces; perigds, exclamation points, or commas LabProgramjava
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
