I've gotten everything to work except on the if...else statements. If the user inputs "2" it always comes back with a fee of 0. I've tried changing various things but don't know what else I can do.
Type: Posts; User: Adam Appleby
I've gotten everything to work except on the if...else statements. If the user inputs "2" it always comes back with a fee of 0. I've tried changing various things but don't know what else I can do.
I add that to the if...else in the main?
Do you happen to know how to use the fees generated from the if...else statements in the class? Nothing I do seems to work.
I fixed it so now it will say "true" (that they picked over night delivery) but how do I add the $35 to the total? And, how do I generate the "fee" from the class? Is the whole displayFee part...
I'm new to Java and in the book I'm reading, Java Programming by Joyce Farrell, things have gotten very complicated very quickly. I've spent well over ten hours on this problem and think I've...