Skip to content

Namat96/basic_C

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Basic C Programming

This repository contains my practice work in C programming language. I created this repository to build a strong foundation in programming before moving to advanced topics like data structures, algorithms, and cryptography.

All programs are written by me as part of my learning journey.


📚 Topics Covered

This repository includes the following C programming concepts:

  • Data types (int, float, double, bool, char[])
  • User input and output
  • Arithmetic operators
  • Logical operators
  • Conditional statements (if, else, nested if)
  • Loops (for, while, nested loops)
  • Functions and return statements
  • Switch statements
  • Format specifiers
  • Break and continue statements
  • Simple mathematical programs
  • Small real-world programs

📂 Folder Structure

Each folder focuses on one topic, for example:

  • For-loop
  • While-loops
  • If-statements
  • Functions
  • Shopping-cart-program
  • Compound-interest-calculator
  • Mad-libs-game

Each folder contains C source files (.c) related to that topic.


🎯 Purpose of This Repository

  • To learn C programming from beginner to intermediate level
  • To understand programming logic and problem-solving
  • To prepare for cryptography and cybersecurity studies
  • To build a strong base for mathematical programming

🛠️ How to Run the Programs

  1. Install a C compiler (GCC recommended)
  2. Open terminal in the program folder
  3. Compile the program:
    gcc filename.c -o output

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors