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