Posted by: Nas September 16, 2006
Login in to Rate this Post:
0
?
Some how this web is not displaying my codes properly !
Its omitting my cout display message !
Anyway you got the answer by slackdemic in Java :)
Slackdemic, how would you read the 4 digits and input each digit in an array? Is there a way?
Prompt the user to input (lets say ) 30 digits.
123.............09
Read these digits into an array and display it when we call the index value such that
array[0]=1
array[2]=2
...
array[29]=9
Our code would be really ineffecient to execute this program !