candySwap
Objective(s): Practice working with arrays of objects.
Given an array of Candy
objects, swap the first and last Candy
objects.
Swapping elements causes some trouble with many students new to programming. Be careful not to make mistakes in later problems!
Type your solution
Skills Practiced:
3.C
3.D
4.A
4.B
Saved
Saved