This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes reading integers from console into program Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Beginning Java
Reply locked New topic
Author

reading integers from console into program

chintan chainani
Greenhorn

Joined: Sep 21, 2005
Posts: 7

hye, i'm not quite able to figure this out, if someone can help by showing some example code :
i wanna enter integers into the variables from console after running program,am unable to do it with readInt(), also the input speciication is a space between integers. which are then taken as row and column of an int array.
am able to read it as char, but not as int. ??

p.s :pl reply ASAP, have been sitting on this too long.. thanks
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41180
    
  45
Please do not post the same question to multiple forums: CarefullyChooseOneForum

Let's continue the discussion in this duplicate thread.


Ping & DNS - my free Android networking tools app
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: reading integers from console into program
 
Similar Threads
The Art & Science of Java Chapter 4 Exercise 12 FindLargest.java
mySQL INTEGER == LONG in Java and ....???
to read intgers into program
Coding
still puzzled about java and life!