How to append multiple line

I need to append multiple line while the loop is running I am getting 3 values sum,sub,add I need to append the 3 values in single line as
Add in one message box

Hi @sruthesanju

First crarte an variable temp

Then in loop in assign activity

temp = temp + yourvalue


Can you please explain with xaml file

Please find the workflow

dummy is an array change if you want

sample.xaml (6.2 KB)

Use this assign activitiy

output = sum+Environment.NewLine+sub+Environment.NewLine+add

Hi @sruthesanju

Is it working for you?

could you please clear your question are you getting 3 value at a time or one by one in a loop like
sum then sub.