My problem is when I input 2 and 12 the fare is to be P 24.00 but it outputs P 28.00 because it call out the t==28 in first if statement

[this is output[][1this is for 2.Quezon Ave.]]2

this is for 1.North Ave.ps://i.stack.imgur.com/UCMnP.jpg



Read more here: https://stackoverflow.com/questions/64939854/my-problem-is-when-i-input-2-and-12-the-fare-is-to-be-p-24-00-but-it-outputs-p-2

Content Attribution

This content was originally published by Row4 at Recent Questions - Stack Overflow, and is syndicated here via their RSS feed. You can read the original post over there.

%d bloggers like this: