Computer Science Canada if statement seeming to be ignored? |
Author: | rto [ Thu Nov 27, 2008 8:38 am ] | ||
Post subject: | if statement seeming to be ignored? | ||
It doesn't seem to matter if you enter Y or N in the overnight delivery section. either way it seems to ignore this part and automatically set overnightDeliveryCharge to 0.00 dollars. |
Author: | rto [ Thu Nov 27, 2008 8:39 am ] |
Post subject: | RE:if statement seeming to be ignored? |
and clearly that is the incorrect code .. which code do i use to post java code? :S thot it was syntax |
Author: | Okapi [ Thu Nov 27, 2008 9:22 am ] |
Post subject: | RE:if statement seeming to be ignored? |
if(overnightDelivery.equals("Y")){ } see here for more info |
Author: | rto [ Thu Dec 04, 2008 10:12 am ] |
Post subject: | RE:if statement seeming to be ignored? |
thanks okapi i figured it out a while ago but forgot to mark the topic has answered ![]() |