Professional Documents
Culture Documents
Philadelphia University
Code reading
Content
Introduction
Bottom-Up Strategy
Top-Down Strategy
Why
What
How
What
How
Copyright © Prof. S. Ghoul (2019)
Code Reading
I = 1; Res 0;
While I <= N do
{ Res Res + A[I];
I I + I + ‘1;
}
}// end SumAr
Try it by yourself
I = 1; Res 0;
While I <= N do
{ Res Res + A[I];
I I + I + ‘1;
}
}// end SumAr
End