File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How can I prompt for input while executing the program?

 
Jack Higgins
Greenhorn
Posts: 6
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
for e.g., I need to ask something like..
(psuedo syntax)
print("Enter the maximum value?")
Read(Value)
What is the correct java syntax for the "Read" line? What is the datatype of the value that will be read by this line?
TIA for ur help.
 
Jack Higgins
Greenhorn
Posts: 6
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
yes, can you pl. explain that again? I am looking for specific help in reading integer values in a loop to fill up a matrix. The program prompts the user to enter a value, and then it reads the value.
Thanks
 
Jack Higgins
Greenhorn
Posts: 6
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks a lot pal ;-)
I just saw the other message posted by you. If you are around, just stick around. Remember what brought you here, Java. And don't let a bunch of jerks drive you away. I may not be an ace in Java, but your tips certainly helped me, which means you have something in you that is pissing those other two guys off. The only way to beat them is to show them what you are made of!
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic