i create array of integer.
in if statement i want to acess array element one by one
whai is it solution
Hi! @amol_pawar ,
Array index is always starts from 0.
for example,
if you have an array like this {1,9,12,2,3,0,5}
the array index will follow like this.
array(0)-1,
array(1)-9,
array(2)-12,
array(3)-2,
array(4)-3,
array(5)-0,
array(6)-5
Regards,
NaNI
Initarray(index) it gives compilation error
Hi @amol_pawar
If You need to access the value in a Sequence!
Create a Variable arrayInt and assingn {1,9,12,2,3,0,5}
Use for each and change the type to Int
For each item in arrayInt
Print Item it will access it one by one!
Regards
thank u for ur reply.
but i want to check maximum value and minimum value in that arry then how fix it
Below statement will check all elements of array based on condition
And this will give you max and min