Bookmark Topic Watch Topic
  • New Topic

How to print a specified part of the program.  RSS feed

 
Ranch Hand
Posts: 118
  • Mark post as helpful
  • send pies
  • Report post to moderator
I am trying to not print out the output if the item type is invalid. Meaning if the user picks a number smaller than 1 or greater than 5. I want it to just print that out rather than all of the output. Please help I am little confused. Thanks

 
Greenhorn
Posts: 8
1
Netscape Notepad Windows Vista
  • Mark post as helpful
  • send pies
  • Report post to moderator
Why a new Thread? Just use your old one: https://coderanch.com/t/672160/java/Error-program
 
    Bookmark Topic Watch Topic
  • New Topic
Boost this thread!