The results are in! Meet the top members of our 2017 Expert Awards. Congratulations to all who qualified!
Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.
Have a better answer? Share it in a comment.
From novice to tech pro — start learning today.
if (date_string.equals("Sunda
// your sunday code
}
else if ( /* same for monday */ )
...
2) You may try this one:
try {
BufferedReader b = new BufferedReader(new InputStreamReader(System.i
String input_str = b.readLine();
if (input_str.length() == 0) { // just pressing enter
System.exit(0);
}
} catch (Exception e) { // error handling code
}
Please modify the codes yourself in order to fit your need.