How to get the size of the array, get the array elements by using an input dialog activity

How to get it

Hi @Gopikrishna_S

Int Count = varArray.Count

Regards
Gokul

Could you please share the workflow diagram using input dailogue box

Hi @Gopikrishna_S

Can you elaborate the query

Regards
Gokul

Given an array “A”, your task is to find the sum of the elements in the array.
Perform the same using 2 different methods:

Part 1: Get the size of the array, get the array elements by using an input dialog activity, and perform the sum operation.
Part 2: Get a number “N” and find the sum of the first “N” elements from the array.

Can you please confirm is this right steps to perform?
Part 1 :

  1. Get size of array using input dialogue box
    2.Get array elements using input dialogue box
  2. Sum of All array elements
    Part 2:
  3. Get N number using input dialogue box
  4. Sum of N elements from already defined array

yeah