Need help on How to Print all even numbers in uipath

If i have numbers 1,2,3,4,5,6,7,8,9,10 then i want to print all Even numbers are 2,4,6,8,10

Hey!

Try like this

take one if condition and pass the expression like this

Mod 2=0

Then block you’ll get the even numbers

Regards,
NaNi

Hi @Yimesh_Vallepalli ,

If you have numbers in an array, then u can use for each and check item mod 2=0.
If it satisfies the condition u can print them

If i use Mod 2=0 then it is printing Single digit but i want all even number to show

You have to loop through each of the items and check whether it satifies the condition and then print it or add it in an array ,according to requirement