• Post Reply Bookmark Topic Watch Topic
  • New Topic

Output not working  RSS feed

 
Junaid Mahmud
Ranch Hand
Posts: 118
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am suppose to enter a set of digits that will be converted into decimal. Though for some reason I don't know why Its not letting me test out the program.

 
Knute Snortum
Sheriff
Posts: 4270
127
Chrome Eclipse IDE Java Postgres Database VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

That line of code isn't going to work.  How do you get a String from a Scanner object?  Said another way, how do you get String input from the keyboard?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!