Download the following code, and get it to compile.
EXCHANGE POKEMON
0. PIKACHU
1. CHARMELEON
2. GEODUDE
3. GYARADOS
4. BUTTERFREE
5. MANKEY
Choose a Pokemon (or -1 to quit). => 1
Choose a Pokemon to exchange with CHARMELEON. => 5
Exchanging CHARMELEON with MANKEY.
EXCHANGE POKEMON
0. PIKACHU
1. MANKEY
2. GEODUDE
3. GYARADOS
4. BUTTERFREE
5. CHARMELEON
Choose a Pokemon (or -1 to quit). => -1
Assignments turned in without these things will receive no credit.
©2013 Graham Mitchell
This assignment is licensed under a
Creative Commons Attribution-NonCommercial-ShareAlike 3.0 United States License.
![]()