This shows you the differences between two versions of the page.
haas:fall2021:cprog:projects:cnv0 [2020/10/08 15:04] – external edit 127.0.0.1 | haas:fall2021:cprog:projects:cnv0 [2021/09/12 13:33] (current) – wedge | ||
---|---|---|---|
Line 99: | Line 99: | ||
<cli> | <cli> | ||
- | yourpi: | + | yourpi: |
</ | </ | ||
Line 105: | Line 105: | ||
<cli> | <cli> | ||
- | yourpi: | + | yourpi: |
</ | </ | ||
Line 133: | Line 133: | ||
====Secondary number output==== | ====Secondary number output==== | ||
<cli> | <cli> | ||
- | yourpi: | + | yourpi: |
Enter a number: 6 | Enter a number: 6 | ||
6 is a secondary number | 6 is a secondary number | ||
- | yourpi: | + | yourpi: |
</ | </ | ||
====Non-secondary number output==== | ====Non-secondary number output==== | ||
<cli> | <cli> | ||
- | yourpi: | + | yourpi: |
Enter a number: 7 | Enter a number: 7 | ||
7 is NOT a secondary number | 7 is NOT a secondary number | ||
Line 148: | Line 148: | ||
====Additional outputs==== | ====Additional outputs==== | ||
<cli> | <cli> | ||
- | yourpi: | + | yourpi: |
Enter a number: 8 | Enter a number: 8 | ||
8 is a secondary number | 8 is a secondary number | ||
- | yourpi: | + | yourpi: |
Enter a number: 16 | Enter a number: 16 | ||
16 is NOT a secondary number | 16 is NOT a secondary number | ||
- | yourpi: | + | yourpi: |
Enter a number: 21 | Enter a number: 21 | ||
21 is a secondary number | 21 is a secondary number | ||
- | yourpi: | + | yourpi: |
</ | </ | ||
Line 166: | Line 166: | ||
<cli> | <cli> | ||
- | yourpi: | + | yourpi: |
Enter a number: 6 | Enter a number: 6 | ||
6 is a secondary number | 6 is a secondary number | ||
- | yourpi: | + | yourpi: |
</ | </ | ||
Line 176: | Line 176: | ||
<cli> | <cli> | ||
- | yourpi: | + | yourpi: |
[ 1] you have: err, should be: err [ 2] you have: no, should be: no | [ 1] you have: err, should be: err [ 2] you have: no, should be: no | ||
[ 3] you have: no, should be: no [ 4] you have: yes, should be: yes | [ 3] you have: no, should be: no [ 4] you have: yes, should be: yes | ||
Line 195: | Line 195: | ||
[ 33] you have: yes, should be: yes [ 34] you have: yes, should be: yes | [ 33] you have: yes, should be: yes [ 34] you have: yes, should be: yes | ||
[ 35] you have: yes, should be: yes [ 36] you have: no, should be: no | [ 35] you have: yes, should be: yes [ 36] you have: no, should be: no | ||
- | yourpi: | + | yourpi: |
</ | </ | ||
Line 213: | Line 213: | ||
<cli> | <cli> | ||
- | lab46: | + | lab46: |
</ | </ | ||