This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
haas:spring2023:unix:projects:cnv0 [2023/02/28 15:00] – wedge | haas:spring2023:unix:projects:cnv0 [2023/03/19 19:40] (current) – [Specifications] wedge | ||
---|---|---|---|
Line 191: | Line 191: | ||
* 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 (the why and how), throughout your code | * have proximal comments explaining your rationale (the why and how), throughout your code | ||
- | * to STDERR, prompt for the number | + | * to STDERR, prompt for the number |
* 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. | ||
* proceed to evaluate the input number, determining whether or not it is a secondary (nary(2)) number. | * proceed to evaluate the input number, determining whether or not it is a secondary (nary(2)) number. |