Unformatted text preview: % % Find the smallest element in vec (E), and the index at which it is % located (F). % % Sort the vector vec and store it in (G). % % vec2 is also a vector. Concatenate vec and vec2 in that order (H). % % Reverse vec2 and store the resulting vector in (I). % % Find the last element of vec2 (J). Do it without using the length % function. % % Starting with the first element, find every other element in vec2. That % is, find every element in vec2 that occurs at an oddnumbered index (K). % % Find all of the numbers in vec2 that are less than 5. (L)...
View
Full
Document
This note was uploaded on 02/26/2010 for the course CS 1371 taught by Professor Stallworth during the Spring '08 term at Georgia Tech.
 Spring '08
 Stallworth

Click to edit the document details