Skip to content

Instantly share code, notes, and snippets.

Created October 29, 2013 16:45
Show Gist options
  • Save anonymous/79a9eb9c82c4b17dcbf2 to your computer and use it in GitHub Desktop.
Save anonymous/79a9eb9c82c4b17dcbf2 to your computer and use it in GitHub Desktop.
void multiplyEntry (int array[], int size){
int temp = array[0];
for (int i = 1; i < size; i++){
array[i] = a[i]*array[i-1];
}
array[size-1] = temp;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment