Guest User

Untitled

a guest
Apr 21st, 2018
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. int main()
  2. {
  3. int contestants[] = {1, 2, 3};
  4. int choice = contestants[0];
  5. contestants[0] = 2;
  6. contestants[1] = contestants[2];
  7. contestants[2] = choice;
  8. choice = contestants[1];
  9. printf("I'm going to pick contestant number %i\n", choice);
  10. return 0;
  11. }
Add Comment
Please, Sign In to add comment