Assign integer numBirds with the same value as numSnakes
Check the final answer first, then review the worked steps.
Check the final answer first, then review the worked steps.
numBirds = numSnakes;
numSnakes using scnr.nextInt().numSnakes to numBirds as requested.numSnakes followed by the value of numBirds.