Computer Science II (CS 171)
Dr. William J. Joel, WS 110, 7-9353
Project No. 1 (10 points)
Due Wednesday, September 27

Problem: To create a program that will simulate the behavior of a thermostat. The user should be able to choose, from a menu, whether to set the temperature at which the AC turns on, enter the current room temperature, or exit the program. The program will then respond with whether the AC is running or not, the current temperature, and the current setting.
Task:
  • Develop a UML class diagram for your project.
  • Develop a written algorithm for each method (function) you plan to implement.
  • Implement your program based on your UML diagram and algorithm.
  • Submit printouts of your diagram, your algorithms, and your source code, as well as an executable version of your program.
Notes:
  • This is an object-oriented program. That is, everything is accomplished using objects, and theirs attributes and methods. Think classes!
  • Please refer to Project Submission Guidelines for more information on how to submit a project.
  • Feel free to add whatever features you wish to this program. These additions will be critiqued but will have no impact on your project grade whatsoever.