Top.Mail.Ru
February 10th, 2004 - Java developers — LiveJournal
? ?

Java developers

February 10th, 2004
 

07:15 pm - Imagemgrjoe - 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
Powered by LiveJournal.com
Image