User Profile

Collapse

Profile Sidebar

Collapse
MBReikowsky
MBReikowsky
Last Activity: Feb 18 '07, 01:28 PM
Joined: Feb 18 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • MBReikowsky
    replied to Java data validation question
    in Java
    Ok thank you very much. My next question is where and how do I post the error message if something other than y or n is entered? Ive looked all over in my book and I couldnt find the command that will validate a string. I found plenty for numbers IE nextDouble but nothing that explains how to check the data they enter when they determine if they wish to continue or not?
    See more | Go to post

    Leave a comment:


  • MBReikowsky
    started a topic Java data validation question
    in Java

    Java data validation question

    Ok this is homework, and I have wrestled with this for quite awhile now. My program is supposed to give an error message if the user enters any invalid entries. The program works great when the user enters an invalid integer, but my problem is trying to get it to give an error message when the user enters an invalid entry when asked if they want to continue. Currently right now it just runs again if an invalid entry is entered. But I need it to give...
    See more | Go to post
No activity results to display
Show More
Working...