Skip to content

Shivam-Chadha7/Basic-C-Programs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Basic C Practice

This repository contains my early C programs as I learn the language.
Right now, I'm working with:

  • printf and scanf
  • Basic algebra operations
  • Reversing 3-digit numbers
  • Summing the digits of a number (limited to fixed length for now)

Programs Included

File Name Description
Del.c Takes two numbers as input and prints their sum
Del3.c Calculates gross salary from basic salary
Del4.c Reverses a 3-digit number like 456 → 654
Del5.c Adds the digits of a 3-digit number like 456 → 15

Notes

These programs don’t use loops yet — all logic is done using simple math operations.
As I learn more (like loops and conditions), I’ll start adding more advanced programs here.


Learning Progress:
✅ Input/output
✅ Math with digits
🕒 Loops and conditions — coming soon!

How to Use

  • Clone the repo or download files
  • Compile the .c files using a C compiler like gcc
  • Run them from terminal or any C IDE

Author

Shivam Chadha – GitHub

About

Beginner-level C programs for basic calculations and condition checks.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages