|
-
December 7th, 2008, 01:23 PM
#7
Re: Please Help... Simple Problem I can't solve please!
You must assign a value to Month before going into the if statements. Because the compiler doesn't know if any of the if statements will be true and the assignment executed. Even if it is obvious that there can be no month == "33" or something.
so it goes like:
String Month;
Month = "??error??";
if (....)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|