Thanks for helloworld922 for the advice
Type: Posts; User: Wanderer
Thanks for helloworld922 for the advice
Well if you look at what I wrote, I told you to implement the logic after the check of s.length.
You are getting an exception basically due to the parseInt().
You cannot convert an empty string to...
Well if you post the final code here, I can probably look at it.
Hi kumarr, To make a program exit on enter, implement something like this
public static void main(String[]args){
BufferedReader br= new BufferedReader(new InputStreamReader(System.in));...