Advertisement
Guest User

Untitled

a guest
May 26th, 2018
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.12 KB | None | 0 0
  1. int array[size];
  2. int composition = 0;
  3.  
  4. for (int i = size - 1; array[i++] != array[size - 1]; composition *= array[i]);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement