Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

read in an integer

 
KwanNok Wong
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • 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
 
Cindy Glass
"The Hood"
Sheriff
Posts: 8521
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Here is an example (I didn't actually compile this today . . .)
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic