• Post Reply Bookmark Topic Watch Topic
  • New Topic

permutation of 5 digit number with BigInteger  RSS feed

 
Kruthika Srinivasan
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi i have tried permutation with big Integer in Java. it works fine upto 4 integer input say 3456 P 2345 but nothing happens in console when i type 5 digit input
here is my code


Kindly help me
 
Campbell Ritchie
Marshal
Posts: 56562
172
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to the Ranch

Please don't use names like cvic for classes; have a look at these naming conventions.
Your program ran all right for me; what is going wrong when you run it?
 
Kruthika Srinivasan
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i used eclipse to run my code. The character bufferSize of the console is less . so i changed that to 1000 under windows->preferences.
now it works fine. thanks for your time. i will follow the naming conventions hereafter.
 
Campbell Ritchie
Marshal
Posts: 56562
172
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well done sorting it out
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!