Homework 6 Solution

Homework 6 Solution - set temp to a[i set a[i to a[j set...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
Homework Six reversal(a, size): set i to 0 while i < size/2 set j to size-i-1
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: set temp to a[i] set a[i] to a[j] set a[j] to temp end...
View Full Document

{[ snackBarMessage ]}

Ask a homework question - tutors are online