when i give input it also prints the extra number at the end of the input and if there is no number exists at the end it prints the + operator.
i want to print like this
for eg. the input is 62
output
50+10+2= 62
and i don’t want to print any extra number of index value.