Hi,
In for each activity what is an “item” means, is it a iteration number? what is the inialvalue of item . Started learning newly,so getting so many doubts.please explain me.
Thanks,
Katyayani.
If your have Array of Strng names ArrSring1 as {“ABC”,“DEF”,“GHI”}
Here if you are doing For each in ArrString1, it will loop three times.
On First loop, item =“ABC”
On Second loop, item =“DEF”
On Third loop, item =“GHI”
To learn more about For Each activity, refer the below link
Thankyou Vivek.
1 Like
Your welcome.
Please mark the thread as solved.
Hi , I am trying write a program using do while and For each ,guessing the number to take chances of 5. Missing some logic. Can anyone help on this plz.
my code is
Thanks,
Thankyou Balamurugan
Welcome. @kathyayani…
This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.