|
CS256 - Principles of Structured Design
Fall 2021
|
Displaying ./code/sternflCode/problems
1. first.c
2. 2hun3hun.c
3. p3.c Add up the first 100 positive integers and print out the
result.
4. Get a positive number from the user. Find 1+2+3+...+usersNumber.
Print out the final result.
***********************************
prefixes in front of other prefixes
nest loops
repetitions inside other repetitions
AAAB AAAB AAAB AAAB
repetition inside another repetition
**********************************
5. p5.c Do the above pattern one character at a time
6. p6.c Storing different types
8. conditional statements p8.c
9. condition statements
10. p10.c counting
|