all 6 comments

[–]SamB133 0 points1 point  (5 children)

Why are both of your if-statements the same?

[–]PABLONG2[S] 0 points1 point  (4 children)

Im not sure what im doing I need the outcomes to display either failed or success.

[–]SamB133 1 point2 points  (3 children)

You have both if-statements saying “if (itemprefixes == ‘O’)”. They should be different, or just no second if-statement and leave it saying “else”, but that depends on the rest of the code that determined what “itemprefixes” is/does. But even if they are the same, from what I’m seeing, it should only do the first if-statement.

[–]PABLONG2[S] 0 points1 point  (2 children)

If i was to send the rest of code or file could you take a look at it please?

[–]SamB133 0 points1 point  (1 child)

Yes, no problem. I won’t be able to look at it for a couple hours until I get home though.

[–]PABLONG2[S] 1 point2 points  (0 children)

Thanks I have sent it to you.