10 February 2004 - java_dev (original) (raw)

| | 07:15 pm - mgrjoe - Newbie Question Ok, this should be an easy answer for most of you...I need to make a program that allows the user to input a one line sentence. If the sentence contains a question mark and is even then it will output "YES". If the sentence has a question mark but is odd, it will output "NO".How do I go about this...Thank you :)Newbie JoeY | | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |