You are viewing a single comment's thread. Return to all comments →
String s=Integer.toString(n); just add this line and remove int s=sc.nextInt();
Seems like cookies are disabled on this browser, please enable them to open this website
Java Int to String
You are viewing a single comment's thread. Return to all comments →
String s=Integer.toString(n); just add this line and remove int s=sc.nextInt();