Skip to content

Latest commit

 

History

History
38 lines (31 loc) · 1.11 KB

README.md

File metadata and controls

38 lines (31 loc) · 1.11 KB

Simplest C Programs

This repository contains basic C programs that help beginners understand fundamental concepts of C programming.

Programs Included:

  • Hello, World! - A simple program that prints "Hello, World!" to the console.
  • Basic Arithmetic Operations - A program that demonstrates addition, subtraction, multiplication, and division.
  • User Input Example - A simple program that takes input from the user and displays it.
  • If-Else Condition - Demonstrates conditional statements in C.
  • Loop Examples - Showcases for, while, and do-while loops in C.

How to Use:

  1. Clone this repository:
    git clone https://github.com/Fatima-progmmer/simplest-in-c-
  2. Navigate to the project directory:
    cd simplest-in-c-
  3. Compile any C file using GCC:
    gcc filename.c -o output
  4. Run the executable:
    ./output

Requirements:

  • A C compiler (GCC, Clang, or any other)
  • Basic understanding of C syntax

Contribution:

Feel free to contribute by adding more simple programs or improving the existing ones.

Happy Coding! 🚀