+ 1
What is the code for this question
123 is a input (123) *(1*23) *(12*3) *(1*2*3)
6 Answers
+ 2
Is it Pattern program . Pls clarify your question little bit.
+ 1
What is your try..?
Try first by yourself..
Hint :
ndg=(number of digits-1) ** 10
N* (N/ndg+N%ndg); N=N/10
https://www.sololearn.com/discuss/333866/?ref=app
0
find out all possible partitions of the string and concatenate each item of each by *
put bracketes around every partition
concatenate each partition by *
0
Add * in between number like above
0
Meghana Lellaaa Just put it as a string or to multiply?
Let's say the input is 12, it prints out (12)*(1*2) or 24?



