CLOSED
CLOSED
Started By Humphry, Nov 15 2019 12:47 PM
#1
Posted 15 November 2019 - 12:47 PM
#6
Posted 25 November 2019 - 11:30 AM
#8
Posted 02 January 2020 - 08:58 PM
#8
Posted 02 January 2020 - 08:58 PM
Hello,
I would do it like this:
Scanner SC = new Scanner(System.in); System.out.println(SC.nextLine().replaceAll("[^A-Za-z]+", "").length());Easier
no it's not easier the thread is nonsene your post is worse than thread itself. why give regex solution to an absolute beginner who has no idea about it ?
#9
Posted 15 January 2020 - 09:04 AM
Users browsing this thread: