Skip to content

My programs which were made just to see how I can manipulate or implement my programming skills throuh C/C++.

Notifications You must be signed in to change notification settings

mradifhassan/Program

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

C/C++ Practice Programs

A collection of simple C and C++ practice programs to explore fundamental programming concepts—from basic arithmetic to string permutations and trigonometry.

Table of Contents


Overview

This repository contains a set of console-based programs written in C and C++. Each program serves as a hands-on exercise for practicing different programming topics:

  • Arithmetic operations
  • Matrix manipulation and calculations
  • Prime number utilities
  • String/permutation logic
  • Trigonometric calculations

Feel free to explore, compile, and modify the code as a learning experience—or use them as a starting point for more advanced projects!


Projects

File Description
calculator.cpp Basic command-line arithmetic calculator
matrix.c Matrix input and manipulation
matrixSum.c Sum elements of a matrix
prime.c Prime number checker
primeOperation.c Advanced prime-related functions
password-permutation.c Generate permutations of a string/password
trigonometry-calculator.cpp Compute sine, cosine, tangent, etc.

Build & Run Instructions

Compile and run each program using gcc (for C) or g++ (for C++). Replace <filename> with the actual source file name.

# Compile
gcc matrix.c -o matrix
g++ calculator.cpp -o calculator

# Run
./matrix
./calculator
# Program

About

My programs which were made just to see how I can manipulate or implement my programming skills throuh C/C++.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published