Question: JAVA CODE RECURSION How to design an algorithm to calculate countdown style maths number puzzle? So how does 2 5 1 4 10 3 45

JAVA CODE

RECURSION

How to design an algorithm to calculate countdown style maths number puzzle?

So how does 2 5 1 4 10 3 45 make 45 is the target number ?

input format: 2 5 1 4 10 3 45 (we will take from user )(have to use all numbers)

and take operations from user(you don't have to use all operations but you can not use any other operations.)

example input format for arithmatic operations=+ * /

output=Answer: 4 + (5 + (3(2 + (10/1))))

CAN USE BASIC JAVA PROGRAMMING LANGUAGE

!!!!PLS DON'T USE queue,stack etc. data strutures.

USE ARRAY AND ARRAYLIST

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!