Java Int to String

  • + 0 comments

    String s=Integer.toString(n); just add this line and remove int s=sc.nextInt();