This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
haas:fall2019:c4eng:projects:cnv0 [2019/10/07 18:12] – [Determining factor pairs] wedge | haas:fall2019:c4eng:projects:cnv0 [2019/10/07 18:14] (current) – [Specifications] wedge | ||
---|---|---|---|
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 | + | * to STDERR, prompt for the number (range appropriate of an unsigned |
* 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. |