Thank you guys, the issue is resolved. However, I am not exactly sure what the issue was.
for (int i = 0; i < 4; i++)
{
mulDropOff = scan.nextLine(); ...
Type: Posts; User: Umbrafalx
Thank you guys, the issue is resolved. However, I am not exactly sure what the issue was.
for (int i = 0; i < 4; i++)
{
mulDropOff = scan.nextLine(); ...
If I print mulDropOff (after setting it to equal "yes" at initialization) it will do that same thing, after printing out "yes" at the end of the previous string.
String mulDropOff = "yes";
for...
I am rather new to programming, I have done for loops before, but I can't see why this doesn't work.
The following program is a fare calculator which I have been practicing on, I would really...