Posted by: Nas September 17, 2006
Java help
Login in to Rate this Post:     0       ?        
Himalayantiger, I know what you mean bro but my question was little different. I want to prompt user to input 30 digits value just once. Something like.. Please input the value and hit enter: 1535................................9 Output is: The first digit is is 1 The second digit is 5 ..... The 30th digit is 9 Your algorithm works only when we prompt user to input multipile times such that each value is stored in each index of the array. for example: Please input 1st value: 1 please input 2nd value:5 .. .. Please input 30th value:9 Output: When we promput user to input the value like this it stores each elements in each indexes of the array and we call the index number to output each element. How would you solve my problem bro?
Read Full Discussion Thread for this article