I wanted to take my chances with these challenges, but I decided to start from the beginning, so here's my (super) late entry, done in Java :
publicstaticvoidmain(String[]args){Scannerscan=newScanner(System.in);System.out.println("Type the word:");Stringword=scan.nextLine();if(word.length()>2){System.out.printf("Result: %s%n",word.substring(1,word.length()-1));}else{System.out.println("Invalid word.");}}
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
I wanted to take my chances with these challenges, but I decided to start from the beginning, so here's my (super) late entry, done in Java :