This preview shows pages 1–2. Sign up to view the full content.
This preview has intentionally blurred sections. Sign up to view the full version.View Full Document
Unformatted text preview: Lab 5 Thursday and Friday, Sep 25 th and 26 th Concepts: Iteration Conditionals Loops (“Groundhog Day” Programming) You are a frustrated reporter from Pittsburgh, PA going to Punxsutawney, PA to cover the Groundhog Day festivities. You find that you are living the same day, February 2 nd , over and over and over again. Your only way out is to write a program to test whether you have changed your life appropriately to proceed on its correct course. Use the following code and don’t change any part of the code except where * signs are. Your goal is to get the program to work to the point that if any question is answered negatively, it will ask the same question again. If every question is answered positively, the program (and your day) will finally end and you can go on with your improved life. The number of * signs do not necessarily represent the number of characters that you...
View Full Document
This note was uploaded on 05/16/2010 for the course ENGR 101 Sectio taught by Professor Ringenberg during the Fall '08 term at University of Michigan.
- Fall '08