Course Solutions Uncategorized (Solved) : Help Fix Code Error Please Run Sample Input Ex 2 3 4 3 Argument Get Exception Thread Main Q36505890 . . . .

(Solved) : Help Fix Code Error Please Run Sample Input Ex 2 3 4 3 Argument Get Exception Thread Main Q36505890 . . . .

 

Help me fix this code error please !

When I run sample input(ex: “2 3 + 4 3 % *” ) into argument, Iget Exception in thread “main”java.lang.ArrayIndexOutOfBoundsException: 1
   atMyInfixPostix8.main(MyInfixPostix8.java:136)
thiserror

——————————————————————-

JAVA

I. Write a program named MyInfixPostix8 that accepts ascommand-line arguments, four expressions as follows:

a. Two postfix expressions to be evaluated

b. Two infix expressions to be converted to postfixexpressions.

• The postfix expressions are parenthesis free. They may havethe following operators: +, -, *, /, %, and ^ (exponent). ^ has thehighest priority, %,*, and /, have second priority, and + and –have the third priority.

• The infix expressions may have: ( )

OR

PayPal Gateway not configured

OR

PayPal Gateway not configured

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Post