Array in psuedocode

 
0
 

I am new to programming and I am having a problem grasping the concept of looping an array. How do I go about doing this?

 
0
 

i don't have any idea about how to write Pseudo code but i think its like providing logic for the solution of the problem . try to understand the following concept of array(However i am still writing an tutorial on Array in C++, i will try to publish it whenever i have time to complete it)

for(index=0;index<size;index++)
{
    cout<<arr[index]<<endl;
}

and without loop :

cout<<arr[0];
cout<<arr[1];
cout<<arr[2];
cout<<arr[3];
cout<<arr[4];

actually loop allows us to repeat statements or a group of statements.So whenever think to execute statement(s) again and again then you should go through loop.

for more information on loop Click Here

 
0
 

Thank you Learner010. This has helped. It answered my question. I'm looking forward to the publication of your tutorial on Arrays.
Again, thank you ^_^

Question Answered as of 1 Year Ago by Learner010
 
0
 

I'm looking forward to the publication of your tutorial on Arrays

i'll publish it very soon whenever i have time to complete the tutorial.

Thanx.

You
This question has already been solved: Start a new discussion instead
Post:
Start New Discussion
View similar articles that have also been tagged: