Practice programs written while learning C fundamentals, mostly following NESO Academy's C programming course. This is a learning log, so the programs are small and focused on one concept at a time.
- Basics: input/output, data types, operators, type conversion, format specifiers
- Conditionals: even/odd, largest of three, leap year, calculator (switch-based)
- Loops: sum of digits, reverse a number, Floyd's triangle, pyramid of stars, Fibonacci series, prime numbers
- Number properties: Armstrong numbers, perfect numbers, strong numbers, palindromes
- Recursion: factorial (recursive), indirect recursion
- Number systems / digital logic: base conversions (ConversionBID), half adder
- Arrays: User input 2D and 3D arrays, matrix multiplication, row/column totals, min/max, middle element, reverse using pointers
Compiled with GCC on Windows:
gcc filename.c -o filename.exe
./filename.exe
Work in progress. I add programs as I move through new topics, so the list above grows over time.