Skip to content

dishasavla/C-programs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

C Programs

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.

Topics covered so far

  • 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

How to run

Compiled with GCC on Windows:

gcc filename.c -o filename.exe
./filename.exe

Notes

Work in progress. I add programs as I move through new topics, so the list above grows over time.

About

C practice exercises following NESO Academy

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages