User Tools

Site Tools


haas:spring2017:cprog:projects:dow0

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
haas:spring2017:cprog:projects:dow0 [2017/01/31 20:08] – [Execution] wedgehaas:spring2017:cprog:projects:dow0 [2017/01/31 20:14] (current) – [Submission] wedge
Line 141: Line 141:
 Be sure to provide any commentary on your journal regarding realizations had and discoveries made during your pursuit of this project. Be sure to provide any commentary on your journal regarding realizations had and discoveries made during your pursuit of this project.
  
-  * 2000 by definition isn't a leap year, but how does this algorithm work for 2000 in general? 
   * Try this algorithm on some years in the 20th century and see how it fares.   * Try this algorithm on some years in the 20th century and see how it fares.
     * Is it correct? Is it correct for any of them?     * Is it correct? Is it correct for any of them?
Line 153: Line 152:
   * Executed program must display a total of 2 lines, one for input, one for output.   * Executed program must display a total of 2 lines, one for input, one for output.
   * Input **must** be in the form of a complete (i.e. four-digit) year   * Input **must** be in the form of a complete (i.e. four-digit) year
 +    * input must be a number, NOT a string
   * Output must be correct, and match the form given in the sample output above.   * Output must be correct, and match the form given in the sample output above.
   * Code must be nicely and consistently indented (you may use the **indent** tool)   * Code must be nicely and consistently indented (you may use the **indent** tool)
haas/spring2017/cprog/projects/dow0.1485893286.txt.gz · Last modified: 2017/01/31 20:08 by wedge