SlideShare una empresa de Scribd logo
1 de 97
Slide 1
Slide 2
Arrays
An array is an aggregate data type that lets you 
access multiple variables through a single name 
by use of an index. In C++, all of these variables 
must have the same type.
Slide 3
Problem: How can the rancher easily catalog all of his cattle?
Possible Solution
Slide 4
string bessie;
string mr_tongue;
string miss_fancy;
string jumper;
…
string blondie;
Mr. Tongue
Slide 5
New Solution: Arrays
const short HERD_SIZE=60;
string my_herd[HERD_SIZE];
Slide 6
Array Allocation Syntax
Type Name [number of cells];
Slide 7
Array Allocation Syntax
// examples
int student_numbers[50];
float student_grades[50];
string student_names[50];
const short NUM_FRIENDS = 2;
string my_friends_names[NUM_FRIENDS];
Slide 8
Arrays Visualized
const int SAMPLE_SIZE=340;
float deflection_readings [SAMPLE_SIZE];
3.56 3.44 4.03 3.96 3.77 3.49 3.92 … 4.01 3.83 3.21
[0] [1] [2] [3] [4] [5] [6] … [337] [338] [339]
Slide 9
Accessing Elements
deflection [0]=45.1;
deflection [4]=12.1;
cout << deflection_readings [6] << endl;
3.56 3.44 4.03 3.96 3.77 3.49 3.92 … 4.01 3.83 3.21
[0] [1] [2] [3] [4] [5] [6] … [337] [338] [339]
ction_readings[0]=45.1;
ction_readings[4]=12.1;
<< deflection_readings[6] << endl;
3.56 3.44 4.03 3.96 3.77 3.49 3.92 … 4.01 3.83 3.21
[0] [1] [2] [3] [4] [5] [6] … [337] [338] [339]
Slide 11
ction_readings[0]=45.1;
ction_readings[4]=12.1;
<< deflection_readings[6] << endl;
45.1 3.44 4.03 3.96 3.77 3.49 3.92 … 4.01 3.83 3.21
[0] [1] [2] [3] [4] [5] [6] … [337] [338] [339]
Slide 12
ction_readings[0]=45.1;
ction_readings[4]=12.1;
<< deflection_readings[6] << endl;
45.1 3.44 4.03 3.96 3.77 3.49 3.92 … 4.01 3.83 3.21
[0] [1] [2] [3] [4] [5] [6] … [337] [338] [339]
Slide 13
ction_readings[0]=45.1;
ction_readings[4]=12.1;
<< deflection_readings[6] << endl;
45.1 3.44 4.03 3.96 12.1 3.49 3.92 … 4.01 3.83 3.21
[0] [1] [2] [3] [4] [5] [6] … [337] [338] [339]
Slide 14
ction_readings[0]=45.1;
ction_readings[4]=12.1;
<< deflection_readings[6] << endl;
45.1 3.44 4.03 3.96 12.1 3.49 3.92 … 4.01 3.83 3.21
[0] [1] [2] [3] [4] [5] [6] … [337] [338] [339]
Slide 15
ction_readings[0]=45.1;
ction_readings[4]=12.1;
<< deflection_readings[6] << endl;
45.1 3.44 4.03 3.96 12.1 3.49 3.92 … 4.01 3.83 3.21
[0] [1] [2] [3] [4] [5] [6] … [337] [338] [339]
Slide 16
Initializing Arrays
const int SIZE=5;
int array[SIZE]={7,2,4,5,1};
7 2 4 5 1
[0] [1] [2] [3] [4]
Slide 17
Initializing Arrays
const int SIZE=5;
int array[SIZE]={0};
0 0 0 0 0
[0] [1] [2] [3] [4]
Slide 18
Initializing Arrays
const int SIZE=5;
int array[SIZE]={9,1};
9 1 0 0 0
[0] [1] [2] [3] [4]
Slide 19
Initializing Arrays
5 2 4
[0] [1] [2]
int array[]={5,2,4};
Slide 20
Things You Can NOT Do
Output an entire array like int, float, or strings
int array[10];
cout << array << endl;
Read in to an entire array
int array[10];
cin >> array;
Slide 21
Working With Arrays
Slide 22
Traversals
hort SIZE=5;
ges[SIZE]={0};
um=0;
verage=0;
rt i=0; i<SIZE; i++)
t << “Person “ << i+1 << “, enter your age: “;
>> ages[i];
0 0 0 0 0
[0] [1] [2] [3] [4]
Slide 23
Traversals
short SIZE=5;
ages[SIZE]={0};
sum=0;
average=0;
ort i=0; i<SIZE; i++)
ut << “Person “ << i+1 << “, enter your age: “;
n >> ages[i];
0 0 0 0 0
[0] [1] [2] [3] [4]
i=0
Slide 24
Traversals
short SIZE=5;
ages[SIZE]={0};
sum=0;
average=0;
ort i=0; i<SIZE; i++)
ut << “Person “ << i+1 << “, enter your age: “;
n >> ages[i];
12 0 0 0 0
[0] [1] [2] [3] [4]
i=0
Slide 25
Traversals
hort SIZE=5;
ges[SIZE]={0};
um=0;
verage=0;
rt i=0; i<SIZE; i++)
t << “Person “ << i+1 << “, enter your age: “;
>> ages[i];
12 0 0 0 0
[0] [1] [2] [3] [4]
i=1
Slide 26
Traversals
short SIZE=5;
ages[SIZE]={0};
sum=0;
average=0;
hort i=0; i<SIZE; i++)
out << “Person “ << i+1 << “, enter your age: “;
in >> ages[i];
12 15 0 0 0
[0] [1] [2] [3] [4]
i=1
Slide 27
Traversals
short SIZE=5;
ages[SIZE]={0};
sum=0;
average=0;
ort i=0; i<SIZE; i++)
ut << “Person “ << i+1 << “, enter your age: “;
n >> ages[i];
12 15 0 0 0
[0] [1] [2] [3] [4]
i=2
Slide 28
Traversals
const short SIZE=5;
short ages[SIZE]={0};
short sum=0;
short average=0;
for(short i=0; i<SIZE; i++)
{
cout << “Person “ << i+1 << “, enter your age: “;
cin >> ages[i];
}
12 15 31 0 0
[0] [1] [2] [3] [4]
i=2
Slide 29
Traversals
short SIZE=5;
ages[SIZE]={0};
sum=0;
average=0;
ort i=0; i<SIZE; i++)
ut << “Person “ << i+1 << “, enter your age: “;
n >> ages[i];
12 15 31 0 0
[0] [1] [2] [3] [4]
i=3
Slide 30
Traversals
short SIZE=5;
ages[SIZE]={0};
sum=0;
average=0;
ort i=0; i<SIZE; i++)
ut << “Person “ << i+1 << “, enter your age: “;
n >> ages[i];
12 15 31 18 0
[0] [1] [2] [3] [4]
i=3
Slide 31
Traversals
short SIZE=5;
ages[SIZE]={0};
sum=0;
average=0;
ort i=0; i<SIZE; i++)
ut << “Person “ << i+1 << “, enter your age: “;
n >> ages[i];
12 15 31 18 0
[0] [1] [2] [3] [4]
i=4
Slide 32
Traversals
short SIZE=5;
ages[SIZE]={0};
sum=0;
average=0;
ort i=0; i<SIZE; i++)
ut << “Person “ << i+1 << “, enter your age: “;
n >> ages[i];
12 15 31 18 14
[0] [1] [2] [3] [4]
i=4
Slide 33
Traversals
...
for(short i=0; i<SIZE; i++)
sum+=ages[i];
average=sum/SIZE;
cout << “The average age is “ << average;
12 15 31 18 14
[0] [1] [2] [3] [4]
i=0, sum=0
Slide 34
Traversals
...
for(short i=0; i<SIZE; i++)
sum+=ages[i];
average=sum/SIZE;
cout << “The average age is “ << average;
12 15 31 18 14
[0] [1] [2] [3] [4]
i=0, sum=12
Slide 35
Traversals
...
for(short i=0; i<SIZE; i++)
sum+=ages[i];
average=sum/SIZE;
cout << “The average age is “ << average;
12 15 31 18 14
[0] [1] [2] [3] [4]
i=1, sum=12
Slide 36
Traversals
...
for(short i=0; i<SIZE; i++)
sum+=ages[i];
average=sum/SIZE;
cout << “The average age is “ << average;
12 15 31 18 14
[0] [1] [2] [3] [4]
i=1, sum=27
Slide 37
Traversals
...
for(short i=0; i<SIZE; i++)
sum+=ages[i];
average=sum/SIZE;
cout << “The average age is “ << average;
12 15 31 18 14
[0] [1] [2] [3] [4]
i=2, sum=27
Slide 38
Traversals
...
for(short i=0; i<SIZE; i++)
sum+=ages[i];
average=sum/SIZE;
cout << “The average age is “ << average;
12 15 31 18 14
[0] [1] [2] [3] [4]
i=2, sum=58
Slide 39
Traversals
...
for(short i=0; i<SIZE; i++)
sum+=ages[i];
average=sum/SIZE;
cout << “The average age is “ << average;
12 15 31 18 14
[0] [1] [2] [3] [4]
i=3, sum=58
Slide 40
Traversals
...
for(short i=0; i<SIZE; i++)
sum+=ages[i];
average=sum/SIZE;
cout << “The average age is “ << average;
12 15 31 18 14
[0] [1] [2] [3] [4]
i=3, sum=76
Slide 41
Traversals
...
for(short i=0; i<SIZE; i++)
sum+=ages[i];
average=sum/SIZE;
cout << “The average age is “ << average;
12 15 31 18 14
[0] [1] [2] [3] [4]
i=4, sum=76
Slide 42
Traversals
...
for(short i=0; i<SIZE; i++)
sum+=ages[i];
average=sum/SIZE;
cout << “The average age is “ << average;
12 15 31 18 14
[0] [1] [2] [3] [4]
i=4, sum=90
Slide 43
Traversals
...
for(short i=0; i<SIZE; i++)
sum+=ages[i];
average=sum/SIZE;
cout << “The average age is “ << average;
12 15 31 18 14
[0] [1] [2] [3] [4]
i=4, sum=90
average=18
Slide 44
Traversals
ort max=ages[0];
r(short i=1; i<SIZE; i++)
if(ages[i]>max)
max=ages[i];
ut << “the max age in the array is “ << max;
12 15 31 18 14
[0] [1] [2] [3] [4]
max=12
Slide 45
Traversals
ort max=ages[0];
r(short i=1; i<SIZE; i++)
if(ages[i]>max)
max=ages[i];
ut << “the max age in the array is “ << max;
12 15 31 18 14
[0] [1] [2] [3] [4]
max=12
i=1
Slide 46
Traversals
ort max=ages[0];
r(short i=1; i<SIZE; i++)
if(ages[i]>max)
max=ages[i];
ut << “the max age in the array is “ << max;
12 15 31 18 14
[0] [1] [2] [3] [4]
max=12
i=1
Slide 47
Traversals
ort max=ages[0];
r(short i=1; i<SIZE; i++)
if(ages[i]>max)
max=ages[i];
ut << “the max age in the array is “ << max;
12 15 31 18 14
[0] [1] [2] [3] [4]
max=15
i=1
Slide 48
Traversals
rt max=ages[0];
(short i=1; i<SIZE; i++)
if(ages[i]>max)
max=ages[i];
t << “the max age in the array is “ << max;
12 15 31 18 14
[0] [1] [2] [3] [4]
max=15
i=2
Slide 49
Traversals
ort max=ages[0];
r(short i=1; i<SIZE; i++)
if(ages[i]>max)
max=ages[i];
ut << “the max age in the array is “ << max;
12 15 31 18 14
[0] [1] [2] [3] [4]
max=15
i=2
Slide 50
Traversals
ort max=ages[0];
r(short i=1; i<SIZE; i++)
if(ages[i]>max)
max=ages[i];
ut << “the max age in the array is “ << max;
12 15 31 18 14
[0] [1] [2] [3] [4]
max=31
i=2
Slide 51
Traversals
ort max=ages[0];
r(short i=1; i<SIZE; i++)
if(ages[i]>max)
max=ages[i];
ut << “the max age in the array is “ << max;
12 15 31 18 14
[0] [1] [2] [3] [4]
max=31
i=3
Slide 52
Traversals
ort max=ages[0];
r(short i=1; i<SIZE; i++)
if(ages[i]>max)
max=ages[i];
ut << “the max age in the array is “ << max;
12 15 31 18 14
[0] [1] [2] [3] [4]
max=31
i=3
Slide 53
Traversals
short max=ages[0];
for(short i=1; i<SIZE; i++)
if(ages[i]>max)
max=ages[i];
cout << “the max age in the array is “ << max;
12 15 31 18 14
[0] [1] [2] [3] [4]
max=31
i=4
Slide 53
Traversals
ort max=ages[0];
r(short i=1; i<SIZE; i++)
if(ages[i]>max)
max=ages[i];
ut << “the max age in the array is “ << max;
12 15 31 18 14
[0] [1] [2] [3] [4]
max=31
i=4
Slide 55
Traversals
ort max=ages[0];
r(short i=1; i<SIZE; i++)
if(ages[i]>max)
max=ages[i];
ut << “the max age in the array is “ << max;
12 15 31 18 14
[0] [1] [2] [3] [4]
max=31
Slide 56
Traversals
for(short i=1; i<SIZE; i++)
for(short j=0; j<SIZE-i; j++)
if(ages[j] > ages[j+1])
{
int swap = ages[j];
ages[j] = ages[j+1];
ages[j+1] = swap;
}
12 15 31 18 14
[0] [1] [2] [3] [4]
i=1
Slide 57
Traversals
for(short i=1; i<SIZE; i++)
for(short j=0; j<SIZE-i; j++)
if(ages[j] > ages[j+1])
{
int swap = ages[j];
ages[j] = ages[j+1];
ages[j+1] = swap;
}
12 15 31 18 14
[0] [1] [2] [3] [4]
i=1
j=0
Slide 58
Traversals
for(short i=1; i<SIZE; i++)
for(short j=0; j<SIZE-i; j++)
if(ages[j] > ages[j+1])
{
int swap = ages[j];
ages[j] = ages[j+1];
ages[j+1] = swap;
}
12 15 31 18 14
[0] [1] [2] [3] [4]
i=1
j j+1
j=0
Slide 59
Traversals
for(short i=1; i<SIZE; i++)
for(short j=0; j<SIZE-i; j++)
if(ages[j] > ages[j+1])
{
int swap = ages[j];
ages[j] = ages[j+1];
ages[j+1] = swap;
}
12 15 31 18 14
[0] [1] [2] [3] [4]
i=1
j=1
Slide 60
Traversals
for(short i=1; i<SIZE; i++)
for(short j=0; j<SIZE-i; j++)
if(ages[j] > ages[j+1])
{
int swap = ages[j];
ages[j] = ages[j+1];
ages[j+1] = swap;
}
12 15 31 18 14
[0] [1] [2] [3] [4]
i=1
j j+1
j=1
Slide 61
Traversals
for(short i=1; i<SIZE; i++)
for(short j=0; j<SIZE-i; j++)
if(ages[j] > ages[j+1])
{
int swap = ages[j];
ages[j] = ages[j+1];
ages[j+1] = swap;
}
12 15 31 18 14
[0] [1] [2] [3] [4]
i=1
j=2
Slide 62
Traversals
for(short i=1; i<SIZE; i++)
for(short j=0; j<SIZE-i; j++)
if(ages[j] > ages[j+1])
{
int swap = ages[j];
ages[j] = ages[j+1];
ages[j+1] = swap;
}
12 15 31 18 14
[0] [1] [2] [3] [4]
i=1
j j+1
j=2
Slide 63
Traversals
for(short i=1; i<SIZE; i++)
for(short j=0; j<SIZE-i; j++)
if(ages[j] > ages[j+1])
{
int swap = ages[j];
ages[j] = ages[j+1];
ages[j+1] = swap;
}
12 15 31 18 14
[0] [1] [2] [3] [4]
i=1
j j+1
j=2
swap=31
Slide 64
Traversals
for(short i=1; i<SIZE; i++)
for(short j=0; j<SIZE-i; j++)
if(ages[j] > ages[j+1])
{
int swap = ages[j];
ages[j] = ages[j+1];
ages[j+1] = swap;
}
12 15 18 18 14
[0] [1] [2] [3] [4]
i=1
j j+1
j=2
swap=31
Slide 65
Traversals
for(short i=1; i<SIZE; i++)
for(short j=0; j<SIZE-i; j++)
if(ages[j] > ages[j+1])
{
int swap = ages[j];
ages[j] = ages[j+1];
ages[j+1] = swap;
}
12 15 18 31 14
[0] [1] [2] [3] [4]
i=1
j j+1
j=2
swap=31
Slide 66
Traversals
for(short i=1; i<SIZE; i++)
for(short j=0; j<SIZE-i; j++)
if(ages[j] > ages[j+1])
{
int swap = ages[j];
ages[j] = ages[j+1];
ages[j+1] = swap;
}
12 15 18 31 14
[0] [1] [2] [3] [4]
i=1
j=3
Slide 67
Traversals
for(short i=1; i<SIZE; i++)
for(short j=0; j<SIZE-i; j++)
if(ages[j] > ages[j+1])
{
int swap = ages[j];
ages[j] = ages[j+1];
ages[j+1] = swap;
}
12 15 18 31 14
[0] [1] [2] [3] [4]
i=1
j j+1
j=3
Slide 68
Traversals
for(short i=1; i<SIZE; i++)
for(short j=0; j<SIZE-i; j++)
if(ages[j] > ages[j+1])
{
int swap = ages[j];
ages[j] = ages[j+1];
ages[j+1] = swap;
}
12 15 18 31 14
[0] [1] [2] [3] [4]
i=1
j j+1
j=3
swap=31
Slide 69
Traversals
for(short i=1; i<SIZE; i++)
for(short j=0; j<SIZE-i; j++)
if(ages[j] > ages[j+1])
{
int swap = ages[j];
ages[j] = ages[j+1];
ages[j+1] = swap;
}
12 15 18 14 14
[0] [1] [2] [3] [4]
i=1
j j+1
j=3
swap=31
Slide 70
Traversals
for(short i=1; i<SIZE; i++)
for(short j=0; j<SIZE-i; j++)
if(ages[j] > ages[j+1])
{
int swap = ages[j];
ages[j] = ages[j+1];
ages[j+1] = swap;
}
12 15 18 14 31
[0] [1] [2] [3] [4]
i=1
j j+1
j=3
swap=31
Slide 71
Traversals
for(short i=1; i<SIZE; i++)
for(short j=0; j<SIZE-i; j++)
if(ages[j] > ages[j+1])
{
int swap = ages[j];
ages[j] = ages[j+1];
ages[j+1] = swap;
}
12 15 18 14 31
[0] [1] [2] [3] [4]
i=1
j=4
Slide 72
Traversals
for(short i=1; i<SIZE; i++)
for(short j=0; j<SIZE-i; j++)
if(ages[j] > ages[j+1])
{
int swap = ages[j];
ages[j] = ages[j+1];
ages[j+1] = swap;
}
12 15 18 14 31
[0] [1] [2] [3] [4]
i=2
Slide 73
Traversals
for(short i=1; i<SIZE; i++)
for(short j=0; j<SIZE-i; j++)
if(ages[j] > ages[j+1])
{
int swap = ages[j];
ages[j] = ages[j+1];
ages[j+1] = swap;
}
12 15 18 14 31
[0] [1] [2] [3] [4]
i=2
j=0
Slide 74
Traversals
for(short i=1; i<SIZE; i++)
for(short j=0; j<SIZE-i; j++)
if(ages[j] > ages[j+1])
{
int swap = ages[j];
ages[j] = ages[j+1];
ages[j+1] = swap;
}
12 15 18 14 31
[0] [1] [2] [3] [4]
i=2
j j+1
j=0
Slide 75
Traversals
for(short i=1; i<SIZE; i++)
for(short j=0; j<SIZE-i; j++)
if(ages[j] > ages[j+1])
{
int swap = ages[j];
ages[j] = ages[j+1];
ages[j+1] = swap;
}
12 15 18 14 31
[0] [1] [2] [3] [4]
i=2
j=1
Slide 76
Traversals
for(short i=1; i<SIZE; i++)
for(short j=0; j<SIZE-i; j++)
if(ages[j] > ages[j+1])
{
int swap = ages[j];
ages[j] = ages[j+1];
ages[j+1] = swap;
}
12 15 18 14 31
[0] [1] [2] [3] [4]
i=2
j j+1
j=1
Slide 77
Traversals
for(short i=1; i<SIZE; i++)
for(short j=0; j<SIZE-i; j++)
if(ages[j] > ages[j+1])
{
int swap = ages[j];
ages[j] = ages[j+1];
ages[j+1] = swap;
}
12 15 18 14 31
[0] [1] [2] [3] [4]
i=2
j=2
Slide 78
Traversals
for(short i=1; i<SIZE; i++)
for(short j=0; j<SIZE-i; j++)
if(ages[j] > ages[j+1])
{
int swap = ages[j];
ages[j] = ages[j+1];
ages[j+1] = swap;
}
12 15 18 14 31
[0] [1] [2] [3] [4]
i=2
j j+1
j=2
Slide 79
Traversals
for(short i=1; i<SIZE; i++)
for(short j=0; j<SIZE-i; j++)
if(ages[j] > ages[j+1])
{
int swap = ages[j];
ages[j] = ages[j+1];
ages[j+1] = swap;
}
12 15 18 14 31
[0] [1] [2] [3] [4]
i=2
j j+1
j=2
swap=18
Slide 80
Traversals
for(short i=1; i<SIZE; i++)
for(short j=0; j<SIZE-i; j++)
if(ages[j] > ages[j+1])
{
int swap = ages[j];
ages[j] = ages[j+1];
ages[j+1] = swap;
}
12 15 14 14 31
[0] [1] [2] [3] [4]
i=2
j j+1
j=2
swap=18
Slide 81
Traversals
for(short i=1; i<SIZE; i++)
for(short j=0; j<SIZE-i; j++)
if(ages[j] > ages[j+1])
{
int swap = ages[j];
ages[j] = ages[j+1];
ages[j+1] = swap;
}
12 15 14 18 31
[0] [1] [2] [3] [4]
i=2
j j+1
j=2
swap=18
Slide 82
Traversals
for(short i=1; i<SIZE; i++)
for(short j=0; j<SIZE-i; j++)
if(ages[j] > ages[j+1])
{
int swap = ages[j];
ages[j] = ages[j+1];
ages[j+1] = swap;
}
12 15 14 18 31
[0] [1] [2] [3] [4]
i=2
j=3
Slide 83
Traversals
for(short i=1; i<SIZE; i++)
for(short j=0; j<SIZE-i; j++)
if(ages[j] > ages[j+1])
{
int swap = ages[j];
ages[j] = ages[j+1];
ages[j+1] = swap;
}
12 15 14 18 31
[0] [1] [2] [3] [4]
i=3
Slide 84
Traversals
for(short i=1; i<SIZE; i++)
for(short j=0; j<SIZE-i; j++)
if(ages[j] > ages[j+1])
{
int swap = ages[j];
ages[j] = ages[j+1];
ages[j+1] = swap;
}
12 15 14 18 31
[0] [1] [2] [3] [4]
i=3
j=0
Slide 85
Traversals
for(short i=1; i<SIZE; i++)
for(short j=0; j<SIZE-i; j++)
if(ages[j] > ages[j+1])
{
int swap = ages[j];
ages[j] = ages[j+1];
ages[j+1] = swap;
}
12 15 14 18 31
[0] [1] [2] [3] [4]
i=3
j j+1
j=0
Slide 86
Traversals
for(short i=1; i<SIZE; i++)
for(short j=0; j<SIZE-i; j++)
if(ages[j] > ages[j+1])
{
int swap = ages[j];
ages[j] = ages[j+1];
ages[j+1] = swap;
}
12 15 14 18 31
[0] [1] [2] [3] [4]
i=3
j=1
Slide 87
Traversals
for(short i=1; i<SIZE; i++)
for(short j=0; j<SIZE-i; j++)
if(ages[j] > ages[j+1])
{
int swap = ages[j];
ages[j] = ages[j+1];
ages[j+1] = swap;
}
12 15 14 18 31
[0] [1] [2] [3] [4]
i=3
j j+1
j=1
Slide 88
Traversals
for(short i=1; i<SIZE; i++)
for(short j=0; j<SIZE-i; j++)
if(ages[j] > ages[j+1])
{
int swap = ages[j];
ages[j] = ages[j+1];
ages[j+1] = swap;
}
12 15 14 18 31
[0] [1] [2] [3] [4]
i=3
j j+1
j=1
swap=15
Slide 89
Traversals
for(short i=1; i<SIZE; i++)
for(short j=0; j<SIZE-i; j++)
if(ages[j] > ages[j+1])
{
int swap = ages[j];
ages[j] = ages[j+1];
ages[j+1] = swap;
}
12 14 14 18 31
[0] [1] [2] [3] [4]
i=3
j j+1
j=1
swap=15
Slide 90
Traversals
for(short i=1; i<SIZE; i++)
for(short j=0; j<SIZE-i; j++)
if(ages[j] > ages[j+1])
{
int swap = ages[j];
ages[j] = ages[j+1];
ages[j+1] = swap;
}
12 14 15 18 31
[0] [1] [2] [3] [4]
i=3
j j+1
j=1
swap=15
Slide 91
Traversals
for(short i=1; i<SIZE; i++)
for(short j=0; j<SIZE-i; j++)
if(ages[j] > ages[j+1])
{
int swap = ages[j];
ages[j] = ages[j+1];
ages[j+1] = swap;
}
12 14 15 18 31
[0] [1] [2] [3] [4]
i=3
j=2
Slide 92
Traversals
for(short i=1; i<SIZE; i++)
for(short j=0; j<SIZE-i; j++)
if(ages[j] > ages[j+1])
{
int swap = ages[j];
ages[j] = ages[j+1];
ages[j+1] = swap;
}
12 14 15 18 31
[0] [1] [2] [3] [4]
i=4
Slide 93
Traversals
for(short i=1; i<SIZE; i++)
for(short j=0; j<SIZE-i; j++)
if(ages[j] > ages[j+1])
{
int swap = ages[j];
ages[j] = ages[j+1];
ages[j+1] = swap;
}
12 14 15 18 31
[0] [1] [2] [3] [4]
i=4
j j+1
j=0
Slide 94
Traversals
for(short i=1; i<SIZE; i++)
for(short j=0; j<SIZE-i; j++)
if(ages[j] > ages[j+1])
{
int swap = ages[j];
ages[j] = ages[j+1];
ages[j+1] = swap;
}
12 14 15 18 31
[0] [1] [2] [3] [4]
i=4
j=1
Slide 95
Traversals
for(short i=1; i<SIZE; i++)
for(short j=0; j<SIZE-i; j++)
if(ages[j] > ages[j+1])
{
int swap = ages[j];
ages[j] = ages[j+1];
ages[j+1] = swap;
}
12 14 15 18 31
[0] [1] [2] [3] [4]
i=5
Slide 96
Traversals
for(short i=1; i<SIZE; i++)
for(short j=0; j<SIZE-i; j++)
if(ages[j] > ages[j+1])
{
int swap = ages[j];
ages[j] = ages[j+1];
ages[j+1] = swap;
}
12 14 15 18 31
[0] [1] [2] [3] [4]
i=5
Slide 97

Más contenido relacionado

La actualidad más candente

Two step equations distributive
Two step equations   distributiveTwo step equations   distributive
Two step equations distributivemlabuski
 
solucionario de purcell 1
solucionario de purcell 1solucionario de purcell 1
solucionario de purcell 1José Encalada
 
Intermediate Algebra 7th Edition Tobey Solutions Manual
Intermediate Algebra 7th Edition Tobey Solutions ManualIntermediate Algebra 7th Edition Tobey Solutions Manual
Intermediate Algebra 7th Edition Tobey Solutions Manualryqakul
 
Probability and Statistics
Probability and StatisticsProbability and Statistics
Probability and Statisticsshekharpatil33
 
ゲーム理論NEXT 線形計画問題第9回 -シンプレックス法4 人工変数-
ゲーム理論NEXT 線形計画問題第9回 -シンプレックス法4 人工変数-ゲーム理論NEXT 線形計画問題第9回 -シンプレックス法4 人工変数-
ゲーム理論NEXT 線形計画問題第9回 -シンプレックス法4 人工変数-ssusere0a682
 
Recentrer l'intelligence artificielle sur les connaissances
Recentrer l'intelligence artificielle sur les connaissancesRecentrer l'intelligence artificielle sur les connaissances
Recentrer l'intelligence artificielle sur les connaissancesMathieu d'Aquin
 
Datamining r 1st
Datamining r 1stDatamining r 1st
Datamining r 1stsesejun
 
R Activity in Biostatistics
R Activity in BiostatisticsR Activity in Biostatistics
R Activity in BiostatisticsLarry Sultiz
 
第2回 基本演算,データ型の基礎,ベクトルの操作方法(解答付き)
第2回 基本演算,データ型の基礎,ベクトルの操作方法(解答付き)第2回 基本演算,データ型の基礎,ベクトルの操作方法(解答付き)
第2回 基本演算,データ型の基礎,ベクトルの操作方法(解答付き)Wataru Shito
 
The sexagesimal foundation of mathematics
The sexagesimal foundation of mathematicsThe sexagesimal foundation of mathematics
The sexagesimal foundation of mathematicsMichielKarskens
 
«PyWat. А хорошо ли вы знаете Python?» Александр Швец, Marilyn System
«PyWat. А хорошо ли вы знаете Python?» Александр Швец, Marilyn System«PyWat. А хорошо ли вы знаете Python?» Александр Швец, Marilyn System
«PyWat. А хорошо ли вы знаете Python?» Александр Швец, Marilyn Systemit-people
 
第3回 データフレームの基本操作 その1(解答付き)
第3回 データフレームの基本操作 その1(解答付き)第3回 データフレームの基本操作 その1(解答付き)
第3回 データフレームの基本操作 その1(解答付き)Wataru Shito
 
IIT-JEE Mains 2017 Online Mathematics Previous Paper Day 1
IIT-JEE Mains 2017 Online Mathematics Previous Paper Day 1IIT-JEE Mains 2017 Online Mathematics Previous Paper Day 1
IIT-JEE Mains 2017 Online Mathematics Previous Paper Day 1Eneutron
 

La actualidad más candente (17)

Two step equations distributive
Two step equations   distributiveTwo step equations   distributive
Two step equations distributive
 
solucionario de purcell 1
solucionario de purcell 1solucionario de purcell 1
solucionario de purcell 1
 
Intermediate Algebra 7th Edition Tobey Solutions Manual
Intermediate Algebra 7th Edition Tobey Solutions ManualIntermediate Algebra 7th Edition Tobey Solutions Manual
Intermediate Algebra 7th Edition Tobey Solutions Manual
 
Probability and Statistics
Probability and StatisticsProbability and Statistics
Probability and Statistics
 
ゲーム理論NEXT 線形計画問題第9回 -シンプレックス法4 人工変数-
ゲーム理論NEXT 線形計画問題第9回 -シンプレックス法4 人工変数-ゲーム理論NEXT 線形計画問題第9回 -シンプレックス法4 人工変数-
ゲーム理論NEXT 線形計画問題第9回 -シンプレックス法4 人工変数-
 
9 chap
9 chap9 chap
9 chap
 
Basic m4-2-chapter1
Basic m4-2-chapter1Basic m4-2-chapter1
Basic m4-2-chapter1
 
4 chap
4 chap4 chap
4 chap
 
Recentrer l'intelligence artificielle sur les connaissances
Recentrer l'intelligence artificielle sur les connaissancesRecentrer l'intelligence artificielle sur les connaissances
Recentrer l'intelligence artificielle sur les connaissances
 
Datamining r 1st
Datamining r 1stDatamining r 1st
Datamining r 1st
 
R Activity in Biostatistics
R Activity in BiostatisticsR Activity in Biostatistics
R Activity in Biostatistics
 
第2回 基本演算,データ型の基礎,ベクトルの操作方法(解答付き)
第2回 基本演算,データ型の基礎,ベクトルの操作方法(解答付き)第2回 基本演算,データ型の基礎,ベクトルの操作方法(解答付き)
第2回 基本演算,データ型の基礎,ベクトルの操作方法(解答付き)
 
Capitulo 5 Soluciones Purcell 9na Edicion
Capitulo 5 Soluciones Purcell 9na EdicionCapitulo 5 Soluciones Purcell 9na Edicion
Capitulo 5 Soluciones Purcell 9na Edicion
 
The sexagesimal foundation of mathematics
The sexagesimal foundation of mathematicsThe sexagesimal foundation of mathematics
The sexagesimal foundation of mathematics
 
«PyWat. А хорошо ли вы знаете Python?» Александр Швец, Marilyn System
«PyWat. А хорошо ли вы знаете Python?» Александр Швец, Marilyn System«PyWat. А хорошо ли вы знаете Python?» Александр Швец, Marilyn System
«PyWat. А хорошо ли вы знаете Python?» Александр Швец, Marilyn System
 
第3回 データフレームの基本操作 その1(解答付き)
第3回 データフレームの基本操作 その1(解答付き)第3回 データフレームの基本操作 その1(解答付き)
第3回 データフレームの基本操作 その1(解答付き)
 
IIT-JEE Mains 2017 Online Mathematics Previous Paper Day 1
IIT-JEE Mains 2017 Online Mathematics Previous Paper Day 1IIT-JEE Mains 2017 Online Mathematics Previous Paper Day 1
IIT-JEE Mains 2017 Online Mathematics Previous Paper Day 1
 

Destacado (6)

One dimensional arrays
One dimensional arraysOne dimensional arrays
One dimensional arrays
 
Pf presntation
Pf presntationPf presntation
Pf presntation
 
Fp201 unit5 1
Fp201 unit5 1Fp201 unit5 1
Fp201 unit5 1
 
2-D array
2-D array2-D array
2-D array
 
Two Dimentional Array
Two Dimentional ArrayTwo Dimentional Array
Two Dimentional Array
 
2- Dimensional Arrays
2- Dimensional Arrays2- Dimensional Arrays
2- Dimensional Arrays
 

Similar a Arrays Traversal Slides

Similar a Arrays Traversal Slides (20)

C++ L04-Array+String
C++ L04-Array+StringC++ L04-Array+String
C++ L04-Array+String
 
C arrays
C arraysC arrays
C arrays
 
Please fix the following C++ code to compile correctly in Vi.pdf
Please fix the following C++ code to compile correctly in Vi.pdfPlease fix the following C++ code to compile correctly in Vi.pdf
Please fix the following C++ code to compile correctly in Vi.pdf
 
Array&pointer
Array&pointerArray&pointer
Array&pointer
 
8 queens problem using back tracking
8 queens problem using back tracking8 queens problem using back tracking
8 queens problem using back tracking
 
ماترێکس به‌ کوردی ئارام
ماترێکس به‌ کوردی ئارامماترێکس به‌ کوردی ئارام
ماترێکس به‌ کوردی ئارام
 
MATLAB ARRAYS
MATLAB ARRAYSMATLAB ARRAYS
MATLAB ARRAYS
 
arrays
arraysarrays
arrays
 
07. Arrays
07. Arrays07. Arrays
07. Arrays
 
PPS Arrays Matrix operations
PPS Arrays Matrix operationsPPS Arrays Matrix operations
PPS Arrays Matrix operations
 
Computer Programming- Lecture 9
Computer Programming- Lecture 9Computer Programming- Lecture 9
Computer Programming- Lecture 9
 
Arrays in Java
Arrays in JavaArrays in Java
Arrays in Java
 
SP-First-Lecture.ppt
SP-First-Lecture.pptSP-First-Lecture.ppt
SP-First-Lecture.ppt
 
Java arrays
Java    arraysJava    arrays
Java arrays
 
Chapter 10.ppt
Chapter 10.pptChapter 10.ppt
Chapter 10.ppt
 
Getting the MVVM Kicked Out of Your F#'n Monads
Getting the MVVM Kicked Out of Your F#'n MonadsGetting the MVVM Kicked Out of Your F#'n Monads
Getting the MVVM Kicked Out of Your F#'n Monads
 
Chap 6 c++
Chap 6 c++Chap 6 c++
Chap 6 c++
 
Array
ArrayArray
Array
 
Chap 6 c++
Chap 6 c++Chap 6 c++
Chap 6 c++
 
C Language Lecture 10
C Language Lecture 10C Language Lecture 10
C Language Lecture 10
 

Último

VIP Call Girls Mumbai Arpita 9910780858 Independent Escort Service Mumbai
VIP Call Girls Mumbai Arpita 9910780858 Independent Escort Service MumbaiVIP Call Girls Mumbai Arpita 9910780858 Independent Escort Service Mumbai
VIP Call Girls Mumbai Arpita 9910780858 Independent Escort Service Mumbaisonalikaur4
 
Mumbai Call Girls Service 9910780858 Real Russian Girls Looking Models
Mumbai Call Girls Service 9910780858 Real Russian Girls Looking ModelsMumbai Call Girls Service 9910780858 Real Russian Girls Looking Models
Mumbai Call Girls Service 9910780858 Real Russian Girls Looking Modelssonalikaur4
 
Call Girls Frazer Town Just Call 7001305949 Top Class Call Girl Service Avail...
Call Girls Frazer Town Just Call 7001305949 Top Class Call Girl Service Avail...Call Girls Frazer Town Just Call 7001305949 Top Class Call Girl Service Avail...
Call Girls Frazer Town Just Call 7001305949 Top Class Call Girl Service Avail...narwatsonia7
 
Sonagachi Call Girls Services 9907093804 @24x7 High Class Babes Here Call Now
Sonagachi Call Girls Services 9907093804 @24x7 High Class Babes Here Call NowSonagachi Call Girls Services 9907093804 @24x7 High Class Babes Here Call Now
Sonagachi Call Girls Services 9907093804 @24x7 High Class Babes Here Call NowRiya Pathan
 
College Call Girls Pune Mira 9907093804 Short 1500 Night 6000 Best call girls...
College Call Girls Pune Mira 9907093804 Short 1500 Night 6000 Best call girls...College Call Girls Pune Mira 9907093804 Short 1500 Night 6000 Best call girls...
College Call Girls Pune Mira 9907093804 Short 1500 Night 6000 Best call girls...Miss joya
 
Call Girls Kanakapura Road Just Call 7001305949 Top Class Call Girl Service A...
Call Girls Kanakapura Road Just Call 7001305949 Top Class Call Girl Service A...Call Girls Kanakapura Road Just Call 7001305949 Top Class Call Girl Service A...
Call Girls Kanakapura Road Just Call 7001305949 Top Class Call Girl Service A...narwatsonia7
 
Artifacts in Nuclear Medicine with Identifying and resolving artifacts.
Artifacts in Nuclear Medicine with Identifying and resolving artifacts.Artifacts in Nuclear Medicine with Identifying and resolving artifacts.
Artifacts in Nuclear Medicine with Identifying and resolving artifacts.MiadAlsulami
 
College Call Girls Vyasarpadi Whatsapp 7001305949 Independent Escort Service
College Call Girls Vyasarpadi Whatsapp 7001305949 Independent Escort ServiceCollege Call Girls Vyasarpadi Whatsapp 7001305949 Independent Escort Service
College Call Girls Vyasarpadi Whatsapp 7001305949 Independent Escort ServiceNehru place Escorts
 
Call Girls Service Nandiambakkam | 7001305949 At Low Cost Cash Payment Booking
Call Girls Service Nandiambakkam | 7001305949 At Low Cost Cash Payment BookingCall Girls Service Nandiambakkam | 7001305949 At Low Cost Cash Payment Booking
Call Girls Service Nandiambakkam | 7001305949 At Low Cost Cash Payment BookingNehru place Escorts
 
Call Girls Thane Just Call 9910780858 Get High Class Call Girls Service
Call Girls Thane Just Call 9910780858 Get High Class Call Girls ServiceCall Girls Thane Just Call 9910780858 Get High Class Call Girls Service
Call Girls Thane Just Call 9910780858 Get High Class Call Girls Servicesonalikaur4
 
Bangalore Call Girls Marathahalli 📞 9907093804 High Profile Service 100% Safe
Bangalore Call Girls Marathahalli 📞 9907093804 High Profile Service 100% SafeBangalore Call Girls Marathahalli 📞 9907093804 High Profile Service 100% Safe
Bangalore Call Girls Marathahalli 📞 9907093804 High Profile Service 100% Safenarwatsonia7
 
Call Girl Bangalore Nandini 7001305949 Independent Escort Service Bangalore
Call Girl Bangalore Nandini 7001305949 Independent Escort Service BangaloreCall Girl Bangalore Nandini 7001305949 Independent Escort Service Bangalore
Call Girl Bangalore Nandini 7001305949 Independent Escort Service Bangalorenarwatsonia7
 
Housewife Call Girls Bangalore - Call 7001305949 Rs-3500 with A/C Room Cash o...
Housewife Call Girls Bangalore - Call 7001305949 Rs-3500 with A/C Room Cash o...Housewife Call Girls Bangalore - Call 7001305949 Rs-3500 with A/C Room Cash o...
Housewife Call Girls Bangalore - Call 7001305949 Rs-3500 with A/C Room Cash o...narwatsonia7
 
Call Girls Hsr Layout Just Call 7001305949 Top Class Call Girl Service Available
Call Girls Hsr Layout Just Call 7001305949 Top Class Call Girl Service AvailableCall Girls Hsr Layout Just Call 7001305949 Top Class Call Girl Service Available
Call Girls Hsr Layout Just Call 7001305949 Top Class Call Girl Service Availablenarwatsonia7
 
Call Girls Hosur Just Call 7001305949 Top Class Call Girl Service Available
Call Girls Hosur Just Call 7001305949 Top Class Call Girl Service AvailableCall Girls Hosur Just Call 7001305949 Top Class Call Girl Service Available
Call Girls Hosur Just Call 7001305949 Top Class Call Girl Service Availablenarwatsonia7
 
Call Girl Service Bidadi - For 7001305949 Cheap & Best with original Photos
Call Girl Service Bidadi - For 7001305949 Cheap & Best with original PhotosCall Girl Service Bidadi - For 7001305949 Cheap & Best with original Photos
Call Girl Service Bidadi - For 7001305949 Cheap & Best with original Photosnarwatsonia7
 
Russian Call Girls Chickpet - 7001305949 Booking and charges genuine rate for...
Russian Call Girls Chickpet - 7001305949 Booking and charges genuine rate for...Russian Call Girls Chickpet - 7001305949 Booking and charges genuine rate for...
Russian Call Girls Chickpet - 7001305949 Booking and charges genuine rate for...narwatsonia7
 
Ahmedabad Call Girls CG Road 🔝9907093804 Short 1500 💋 Night 6000
Ahmedabad Call Girls CG Road 🔝9907093804  Short 1500  💋 Night 6000Ahmedabad Call Girls CG Road 🔝9907093804  Short 1500  💋 Night 6000
Ahmedabad Call Girls CG Road 🔝9907093804 Short 1500 💋 Night 6000aliya bhat
 

Último (20)

Escort Service Call Girls In Sarita Vihar,, 99530°56974 Delhi NCR
Escort Service Call Girls In Sarita Vihar,, 99530°56974 Delhi NCREscort Service Call Girls In Sarita Vihar,, 99530°56974 Delhi NCR
Escort Service Call Girls In Sarita Vihar,, 99530°56974 Delhi NCR
 
VIP Call Girls Mumbai Arpita 9910780858 Independent Escort Service Mumbai
VIP Call Girls Mumbai Arpita 9910780858 Independent Escort Service MumbaiVIP Call Girls Mumbai Arpita 9910780858 Independent Escort Service Mumbai
VIP Call Girls Mumbai Arpita 9910780858 Independent Escort Service Mumbai
 
Mumbai Call Girls Service 9910780858 Real Russian Girls Looking Models
Mumbai Call Girls Service 9910780858 Real Russian Girls Looking ModelsMumbai Call Girls Service 9910780858 Real Russian Girls Looking Models
Mumbai Call Girls Service 9910780858 Real Russian Girls Looking Models
 
Call Girls Frazer Town Just Call 7001305949 Top Class Call Girl Service Avail...
Call Girls Frazer Town Just Call 7001305949 Top Class Call Girl Service Avail...Call Girls Frazer Town Just Call 7001305949 Top Class Call Girl Service Avail...
Call Girls Frazer Town Just Call 7001305949 Top Class Call Girl Service Avail...
 
Sonagachi Call Girls Services 9907093804 @24x7 High Class Babes Here Call Now
Sonagachi Call Girls Services 9907093804 @24x7 High Class Babes Here Call NowSonagachi Call Girls Services 9907093804 @24x7 High Class Babes Here Call Now
Sonagachi Call Girls Services 9907093804 @24x7 High Class Babes Here Call Now
 
College Call Girls Pune Mira 9907093804 Short 1500 Night 6000 Best call girls...
College Call Girls Pune Mira 9907093804 Short 1500 Night 6000 Best call girls...College Call Girls Pune Mira 9907093804 Short 1500 Night 6000 Best call girls...
College Call Girls Pune Mira 9907093804 Short 1500 Night 6000 Best call girls...
 
Call Girls Kanakapura Road Just Call 7001305949 Top Class Call Girl Service A...
Call Girls Kanakapura Road Just Call 7001305949 Top Class Call Girl Service A...Call Girls Kanakapura Road Just Call 7001305949 Top Class Call Girl Service A...
Call Girls Kanakapura Road Just Call 7001305949 Top Class Call Girl Service A...
 
Artifacts in Nuclear Medicine with Identifying and resolving artifacts.
Artifacts in Nuclear Medicine with Identifying and resolving artifacts.Artifacts in Nuclear Medicine with Identifying and resolving artifacts.
Artifacts in Nuclear Medicine with Identifying and resolving artifacts.
 
College Call Girls Vyasarpadi Whatsapp 7001305949 Independent Escort Service
College Call Girls Vyasarpadi Whatsapp 7001305949 Independent Escort ServiceCollege Call Girls Vyasarpadi Whatsapp 7001305949 Independent Escort Service
College Call Girls Vyasarpadi Whatsapp 7001305949 Independent Escort Service
 
Call Girls Service Nandiambakkam | 7001305949 At Low Cost Cash Payment Booking
Call Girls Service Nandiambakkam | 7001305949 At Low Cost Cash Payment BookingCall Girls Service Nandiambakkam | 7001305949 At Low Cost Cash Payment Booking
Call Girls Service Nandiambakkam | 7001305949 At Low Cost Cash Payment Booking
 
Call Girls Thane Just Call 9910780858 Get High Class Call Girls Service
Call Girls Thane Just Call 9910780858 Get High Class Call Girls ServiceCall Girls Thane Just Call 9910780858 Get High Class Call Girls Service
Call Girls Thane Just Call 9910780858 Get High Class Call Girls Service
 
Bangalore Call Girls Marathahalli 📞 9907093804 High Profile Service 100% Safe
Bangalore Call Girls Marathahalli 📞 9907093804 High Profile Service 100% SafeBangalore Call Girls Marathahalli 📞 9907093804 High Profile Service 100% Safe
Bangalore Call Girls Marathahalli 📞 9907093804 High Profile Service 100% Safe
 
Call Girl Bangalore Nandini 7001305949 Independent Escort Service Bangalore
Call Girl Bangalore Nandini 7001305949 Independent Escort Service BangaloreCall Girl Bangalore Nandini 7001305949 Independent Escort Service Bangalore
Call Girl Bangalore Nandini 7001305949 Independent Escort Service Bangalore
 
Housewife Call Girls Bangalore - Call 7001305949 Rs-3500 with A/C Room Cash o...
Housewife Call Girls Bangalore - Call 7001305949 Rs-3500 with A/C Room Cash o...Housewife Call Girls Bangalore - Call 7001305949 Rs-3500 with A/C Room Cash o...
Housewife Call Girls Bangalore - Call 7001305949 Rs-3500 with A/C Room Cash o...
 
Call Girls Hsr Layout Just Call 7001305949 Top Class Call Girl Service Available
Call Girls Hsr Layout Just Call 7001305949 Top Class Call Girl Service AvailableCall Girls Hsr Layout Just Call 7001305949 Top Class Call Girl Service Available
Call Girls Hsr Layout Just Call 7001305949 Top Class Call Girl Service Available
 
Call Girls Hosur Just Call 7001305949 Top Class Call Girl Service Available
Call Girls Hosur Just Call 7001305949 Top Class Call Girl Service AvailableCall Girls Hosur Just Call 7001305949 Top Class Call Girl Service Available
Call Girls Hosur Just Call 7001305949 Top Class Call Girl Service Available
 
sauth delhi call girls in Bhajanpura 🔝 9953056974 🔝 escort Service
sauth delhi call girls in Bhajanpura 🔝 9953056974 🔝 escort Servicesauth delhi call girls in Bhajanpura 🔝 9953056974 🔝 escort Service
sauth delhi call girls in Bhajanpura 🔝 9953056974 🔝 escort Service
 
Call Girl Service Bidadi - For 7001305949 Cheap & Best with original Photos
Call Girl Service Bidadi - For 7001305949 Cheap & Best with original PhotosCall Girl Service Bidadi - For 7001305949 Cheap & Best with original Photos
Call Girl Service Bidadi - For 7001305949 Cheap & Best with original Photos
 
Russian Call Girls Chickpet - 7001305949 Booking and charges genuine rate for...
Russian Call Girls Chickpet - 7001305949 Booking and charges genuine rate for...Russian Call Girls Chickpet - 7001305949 Booking and charges genuine rate for...
Russian Call Girls Chickpet - 7001305949 Booking and charges genuine rate for...
 
Ahmedabad Call Girls CG Road 🔝9907093804 Short 1500 💋 Night 6000
Ahmedabad Call Girls CG Road 🔝9907093804  Short 1500  💋 Night 6000Ahmedabad Call Girls CG Road 🔝9907093804  Short 1500  💋 Night 6000
Ahmedabad Call Girls CG Road 🔝9907093804 Short 1500 💋 Night 6000
 

Arrays Traversal Slides