Sum of elements

how to perform sum operation by getting n numbers in array

Hi @Tejaswini_Yadav
try
arr_var.count

@Tejaswini_Yadav

For Sum you can try as below

YourArray.Sum

Check below for your reference

Hope this may help you

Thanks

Hi @Tejaswini_Yadav
If you want sum of your array elements then you can use yourarray.sum
If you want count then you can use yourarray.count