aspose file tools*
The moose likes Beginning Java and the fly likes read in an integer Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Beginning Java
Reply locked New topic
Author

read in an integer

KwanNok Wong
Greenhorn

Joined: Nov 07, 2002
Posts: 5
hi there,
i am doing an assignment of asking user to input data from keyboard.
could u please teach me how to ask users to input an integer by keyboard? i would be appreciated if you could provide me with an example as well.
thanks very much
Haakon Lind
Greenhorn

Joined: Sep 18, 2002
Posts: 22
Hi, this is an example I think you`ll understand it:
Cindy Glass
"The Hood"
Sheriff

Joined: Sep 29, 2000
Posts: 8521
Please do not cross post.
Jim Yingst
Wanderer
Sheriff

Joined: Jan 30, 2000
Posts: 18671
For further posts please go here.


"I'm not back." - Bill Harding, Twister
 
wood burning stoves
 
subject: read in an integer