Structured C programming practice covering core concepts, logic building, and problem solving
This repository contains my C programming practice work completed during the first semester of my B.Tech in Artificial Intelligence & Data Science program.
The project is organized topic-wise and focuses on building a strong foundation in procedural programming, problem solving, and logical thinking using the C language. Each folder represents a specific concept area practiced through multiple programs.
multiple-arithmetic-operations.cβ Performs multiple arithmetic operationsmultiplication-table.cβ Prints multiplication tablessum-of-array.cβ Computes sum of array elementssum-of-matrix-elements.cβ Calculates sum of matrix elementssum-of-numbers.cβ Sums a series of numberssum-of-two-numbers.cβ Adds two numbers
(Compiled executables stored in Run)
array-pointer-address-demo.cβ Demonstrates array addresses using pointersarray-sum-average.cβ Computes sum and average of array elementscopy-array-elements.cβ Copies elements from one array to anothercount-duplicate-elements.cβ Counts duplicate elements in an arrayfind-max-min-array.cβ Finds maximum and minimum elementssearch-element-in-array.cβ Searches for an element in an arraysort-array-ascending.cβ Sorts array in ascending ordersort-array-descending.cβ Sorts array in descending ordersort-integer-array.cβ Integer array sortingsum-and-average-array.cβ Calculates sum and average
(Compiled executables stored in Run)
check-even-odd.cβ Checks whether a number is even or oddcheck-prime-number.cβ Checks for prime numberscount-even-odd-array.cβ Counts even and odd elements in an arraygreatest-of-three-numbers.cβ Finds the greatest of three numbersseparate-even-odd-array.cβ Separates even and odd elementsswitch-subject-book.cβ Switch-case based subject selectionvowel-check-using-switch.cβ Vowel detection using switch
basic-operations-using-functions.cβ Arithmetic operations using functionsfibonacci-using-function.cβ Fibonacci series using functionsreverse-array-using-function.cβ Reverses an array using functionssum-of-n-numbers-function.cβ Sum of numbers using functions
fibonacci-iterative.cβ Fibonacci series using loopsfibonacci-using-recursion.cβ Fibonacci using recursionloop-practice-temp.cβ Loop practice programsprint-numbers-1-to-200.cβ Prints numbers from 1 to 200print-odd-number-pattern.cβ Odd number pattern printingpattern-special-case.cpattern-temp-1.cpattern-temp-2.cpattern-temp-3.cpattern-temp-4.cpattern-temp-5.cpattern-temp-6.cpattern-temporary.cpattern-trial-1.cpattern-trial-2.c
factorial-iterative.cβ Factorial using iterationfactorial-recursive-basic.cβ Basic recursive factorialfactorial-recursive.cβ Recursive factorial implementationfactorial-recursion-version2.cβ Alternate recursive approachfactorial-using-function.cβ Factorial using functions
string-basics.cβ Basic string handlingstring-operations.cβ Common string operationssort-string-alphabetically.cβ Alphabetical string sortingsort-multiple-strings.cβ Sorting multiple strings
student-structure-basic.cβ Basic structure handlingstudent-union-demo.cβ Union demonstrationbook-structure-handling.cβ Book record handling using structurestime-format-structure.cβ Time format using structures
electricity-bill-calculation.cβ Electricity bill calculation systemrestaurant-order-system.cβ Console-based restaurant ordering system
TeamLaligurans.pdfβ Reference / supporting document
- GCC compiler (or any C compiler)
- Windows / Linux / macOS
- Navigate to the desired folder
- Compile the program: gcc filename.c -o output
- Run the executable: ./output
(Precompiled .exe files are available in Run folders for Windows.)
- C syntax and control flow
- Arrays, strings, pointers
- Functions and recursion
- Structures and unions
- Pattern printing and logic building
- Real-world problem modeling
- Debugging and program organization
This work was completed as part of the Programming in C coursework during the first semester of the B.Tech AI & Data Science curriculum, with emphasis on building strong programming fundamentals.
MIT License
Copyright (c) 2026
Krish Singh
https://github.com/wasitkrish