Tutorial | Exercise | Description | File |
2 | 1 | Number divisible by 7 | tute2-ex1.c |
2 | Factorial of 7 | tute2-ex2.c | |
3 | Factorial of user-entered number | tute2-ex3.c | |
4 | Multiplication table | tute2-ex4.c | |
5 | Multiplication table with varied field widths | tute2-ex5.c | |
6 | -5 to 5 addition table | tute2-ex6.c | |
7 | While loops instead of for loops | tute2-ex7.c | |
3 | 1 | Powers of 2, -3 without intermediate variable assignment | tute3-ex1.c |
2 | First 16 powers (0 to 15) of entered number | tute3-ex2.c | |
3 | Convert string to lower case | tute3-ex3.c | |
4 | Count characters independent of case | tute3-ex4.c | |
5 | (Advanced) Reverse a string | tute3-ex5.c | |
4 | 1 | SUM(x,y,z) macro | tute4-ex1.c |
2 | ask_for_double() | example.c prompt_for_number.h prompt_for_number.c |
|
5 | 1 | int is_square(rectangle r); function | tute5-ex1.c |
2 | make_point() and make_rectangle() using pointers | tute5-ex2.c | |
6 |
No exercises. |