Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
    Bookmark Topic Watch Topic
  • New Topic

read in an integer

 
KwanNok Wong
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Report post to moderator
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
Posts: 22
  • Mark post as helpful
  • send pies
  • Report post to moderator
Hi, this is an example I think you`ll understand it:
 
Cindy Glass
"The Hood"
Sheriff
Posts: 8521
  • Mark post as helpful
  • send pies
  • Report post to moderator
Please do not cross post.
 
Jim Yingst
Wanderer
Sheriff
Posts: 18671
  • Mark post as helpful
  • send pies
  • Report post to moderator
For further posts please go here.
 
    Bookmark Topic Watch Topic
  • New Topic