DEV Community

Vishnukant MUle
Vishnukant MUle

Posted on

Required Solution

I want to concatenate two integers and make it third integer
suppose Input:

a=10;
b=34;

output:
c=1034

like this I try to find best solution on this but i got only 2 int to string solution

Top comments (1)

Collapse
 
pgradot profile image
Pierre Gradot

c = a*100 + b ?