In the prior assignment (#2b), you were asked to go around the inner lake as shown below. We are going to add 1 new requirement to this
- with a flower in 6,6
- using while loop(s) traverse around the border of the inner lake
- For each map, you should pick the flower, after the loop is over
What is new this time?
- You are forced to use 1 and only 1 while loop .
- you can only use hop() (ie you can’t hop more than 1 space)
-
after the loop is done , then you can
pick() the flower
![](http://www.mathwarehouse.com/images/icons/download-bttn.png)
Download the map files
recangular-lake.jev
![walk-the-lake-annotated](https://mrmonline.org/wp-content/uploads/2014/01/walk-the-lake-annotated.png)
![](https://blog.penjee.com/wp-content/uploads/2015/04/traverse-rim-jeroo-demo.gif)
recangular-lake-if2.jev
Scroll down for a hint about how to handle if test #1 for this map.
![rectangular_lake_if2_overview](https://mrmonline.org/wp-content/uploads/2014/01/rectangular_lake_if2_overview.png)
A closerlook at if test #1 (how to get around that first if test)
![rectangular_lake_if2_get_around_net](https://mrmonline.org/wp-content/uploads/2014/01/rectangular_lake_if2_get_around_net.png)
rectangular-lake-bumps1.jev
![](https://mrmonline.org/cs/jeroo/images/walk-lake-loops8.png)
recangular-lake-bump3A.jev
![rectangular_lake_3A2](https://mrmonline.org/wp-content/uploads/2014/01/rectangular_lake_3A21.png)
recangular-lake-bump3B.jev ( NOT BEING GRADED, SKIP THIS)
![rectangular_lake_3A2_annotated](https://mrmonline.org/wp-content/uploads/2014/01/rectangular_lake_3A2_annotated.png)
walk-the-lake-jacks-map.jev
Write an infinite loop (1 while loop). You may NOT use isWater()
![](https://blog.penjee.com/wp-content/uploads/2015/04/jacks-map-demo_traverse_rim.gif)