- To demonstrate your understanding of objects
- To demonstrate your understanding of operators
- To demonstrate your understanding of user input
- To demonstrate your understanding of functions
Write a guessing game where the user has to guess a secret number. After every guess the program tells the user whether their number was too large or too small. At the end the number of tries needed should be printed. It counts only as one try if they input the same number multiple times consecutively.
No Unit Test
- Break problem into pieces
- Solve for each piece of the problem
- Bring pieces together
- Print final output to screen