User Tools

Site Tools


haas:fall2019:c4eng:projects:cnv0

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:fall2019:c4eng:projects:cnv0 [2019/10/07 13:16] – [Additional outputs] wedgehaas:fall2019:c4eng:projects:cnv0 [2019/10/07 18:14] (current) – [Specifications] wedge
Line 50: Line 50:
 The number 14: The number 14:
  
-  * 14 % 2 == 0  // another factor!+  * 14 % 2 == 0   another factor!
   * 14 % 3 == 2   * 14 % 3 == 2
   * 14 % 4 == 2   * 14 % 4 == 2
   * 14 % 5 == 4   * 14 % 5 == 4
   * 14 % 6 == 2   * 14 % 6 == 2
-  * 14 % 7 == 0  // another factor!+  * 14 % 7 == 0   another factor!
   * 14 % 8 == 6   * 14 % 8 == 6
   * 14 % 9 == 5   * 14 % 9 == 5
Line 97: Line 97:
     * all code within the same scope aligned to its indentation level     * all code within the same scope aligned to its indentation level
   * have proximal comments explaining your rationale and what is going on, throughout your code   * have proximal comments explaining your rationale and what is going on, throughout your code
-  * to STDERR, prompt for the number (range appropriate of a signed long int)+  * to STDERR, prompt for the number (range appropriate of an unsigned long int)
     * properly store this in a variable of type **unsigned long int**     * properly store this in a variable of type **unsigned long int**
   * immediately after the input, check to make sure the input number is a positive number greater than or equal to 2; if in violation, display an error (to STDERR) and exit with a non-zero value.   * immediately after the input, check to make sure the input number is a positive number greater than or equal to 2; if in violation, display an error (to STDERR) and exit with a non-zero value.
Line 186: Line 186:
 To successfully complete this project, the following criteria must be met: To successfully complete this project, the following criteria must be met:
  
-  * Code must compile cleanly (no warnings or errors)+  * Code must compile cleanly (no notes, warnings, nor errors)
   * 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   * Code must be nicely and consistently indented
haas/fall2019/c4eng/projects/cnv0.1570454163.txt.gz · Last modified: 2019/10/07 13:16 by wedge