# muhsinaids/codem_all architecture

> Architecture diagram of the GitHub repository muhsinaids/codem_all, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-02). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/muhsinaids/codem_all
- Repository: https://github.com/muhsinaids/codem_all

## Overview

This repository is a collection of independent command-line programming examples, implemented separately in C, Python, and Java. The typical workflow is a user entering a value or list, a standalone program applying one algorithm, and the program printing a result; there is no shared runtime or cross-language call chain. The graph includes every listed example. Input/output edges are limited to files whose excerpts show that interaction; other programs are shown without inferred connections.

Main entry points: [`C/armstrong_number.c`](https://github.com/muhsinaids/codem_all/blob/main/C/armstrong_number.c) (Armstrong check), [`C/array_bubble_sort.c`](https://github.com/muhsinaids/codem_all/blob/main/C/array_bubble_sort.c) (Bubble sort), [`C/fibonacci_series.c`](https://github.com/muhsinaids/codem_all/blob/main/C/fibonacci_series.c) (Fibonacci series), [`C/swap_two_numbers.c`](https://github.com/muhsinaids/codem_all/blob/main/C/swap_two_numbers.c) (Swap numbers)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_c["C examples"]
  node_c_armstrong["Armstrong check<br/>[armstrong_number.c]"]
  node_c_sort["Bubble sort"]
  node_c_prime["Prime check"]
  node_c_factorial["Factorial<br/>[factorial.c]"]
  node_c_fibonacci["Fibonacci series<br/>[fibonacci_series.c]"]
  node_c_largest["Largest number<br/>[largest_number.c]"]
  node_c_palindrome["Palindrome check<br/>[palindrome.c]"]
  node_c_reverse["Reverse string<br/>[reverse_string.c]"]
  node_c_triangle["Right triangle<br/>[right_triangle.c]"]
  node_c_digits["Sum digits"]
  node_c_swap["Swap numbers<br/>[swap_two_numbers.c]"]
  node_c_vowels["Vowel count<br/>[vowels_in_string.c]"]
end

subgraph group_python["Python examples"]
  node_py_armstrong["Armstrong check"]
  node_py_sort["Bubble sort"]
  node_py_prime["Prime check"]
  node_py_factorial["Factorial<br/>[factorial.py]"]
  node_py_fibonacci["Fibonacci series"]
  node_py_largest["Largest number<br/>[largest_number.py]"]
  node_py_palindrome["Palindrome check"]
  node_py_reverse["Reverse string"]
  node_py_triangle["Right triangle<br/>[right_triangle.py]"]
  node_py_digits["Sum digits"]
  node_py_swap["Swap numbers"]
  node_py_vowels["Vowel count"]
end

subgraph group_java["Java examples"]
  node_java_armstrong["Armstrong check"]
  node_java_sort["Bubble sort"]
  node_java_prime["Prime check"]
  node_java_factorial["Factorial<br/>[factorial.java]"]
  node_java_fibonacci["Fibonacci series"]
  node_java_largest["Largest number<br/>[largestnumber.java]"]
  node_java_palindrome["Palindrome check<br/>[palindrome.java]"]
  node_java_reverse["Reverse string"]
  node_java_triangle["Right triangle"]
end

node_user(("User"))

node_user -->|"enters number"| node_c_armstrong
node_c_armstrong -->|"prints result"| node_user
node_user -->|"enters values"| node_c_sort
node_c_sort -->|"prints sorted values"| node_user
node_user -->|"enters count"| node_c_fibonacci
node_c_fibonacci -->|"prints series"| node_user
node_user -->|"enters numbers"| node_c_swap
node_c_swap -->|"prints swapped values"| node_user
node_user -->|"enters number"| node_py_armstrong
node_py_armstrong -->|"prints result"| node_user
node_user -->|"enters count"| node_py_fibonacci
node_py_fibonacci -->|"prints series"| node_user
node_user -->|"enters number"| node_py_palindrome
node_py_palindrome -->|"prints result"| node_user
node_user -->|"enters numbers"| node_py_swap
node_py_swap -->|"prints swapped values"| node_user
node_user -->|"enters number"| node_java_armstrong
node_java_armstrong -->|"prints result"| node_user
node_user -->|"enters values"| node_java_sort
node_java_sort -->|"prints sorted values"| node_user
node_user -->|"enters count"| node_java_fibonacci
node_java_fibonacci -->|"prints series"| node_user
node_user -->|"enters number"| node_java_palindrome
node_java_palindrome -->|"prints result"| node_user

click node_c_armstrong "https://github.com/muhsinaids/codem_all/blob/main/C/armstrong_number.c"
click node_c_sort "https://github.com/muhsinaids/codem_all/blob/main/C/array_bubble_sort.c"
click node_c_prime "https://github.com/muhsinaids/codem_all/blob/main/C/check_prime_number.c"
click node_c_factorial "https://github.com/muhsinaids/codem_all/blob/main/C/factorial.c"
click node_c_fibonacci "https://github.com/muhsinaids/codem_all/blob/main/C/fibonacci_series.c"
click node_c_largest "https://github.com/muhsinaids/codem_all/blob/main/C/largest_number.c"
click node_c_palindrome "https://github.com/muhsinaids/codem_all/blob/main/C/palindrome.c"
click node_c_reverse "https://github.com/muhsinaids/codem_all/blob/main/C/reverse_string.c"
click node_c_triangle "https://github.com/muhsinaids/codem_all/blob/main/C/right_triangle.c"
click node_c_digits "https://github.com/muhsinaids/codem_all/blob/main/C/sum_of_digits_of_number.c"
click node_c_swap "https://github.com/muhsinaids/codem_all/blob/main/C/swap_two_numbers.c"
click node_c_vowels "https://github.com/muhsinaids/codem_all/blob/main/C/vowels_in_string.c"
click node_py_armstrong "https://github.com/muhsinaids/codem_all/blob/main/Python/armstrong_number.py"
click node_py_sort "https://github.com/muhsinaids/codem_all/blob/main/Python/array_bubble_sort.py"
click node_py_prime "https://github.com/muhsinaids/codem_all/blob/main/Python/check_prime_number.py"
click node_py_factorial "https://github.com/muhsinaids/codem_all/blob/main/Python/factorial.py"
click node_py_fibonacci "https://github.com/muhsinaids/codem_all/blob/main/Python/fibonacci_series.py"
click node_py_largest "https://github.com/muhsinaids/codem_all/blob/main/Python/largest_number.py"
click node_py_palindrome "https://github.com/muhsinaids/codem_all/blob/main/Python/number_palindrome.py"
click node_py_reverse "https://github.com/muhsinaids/codem_all/blob/main/Python/reverse_a_string.py"
click node_py_triangle "https://github.com/muhsinaids/codem_all/blob/main/Python/right_triangle.py"
click node_py_digits "https://github.com/muhsinaids/codem_all/blob/main/Python/sum_of_digits_of_number.py"
click node_py_swap "https://github.com/muhsinaids/codem_all/blob/main/Python/swap_two_numbers.py"
click node_py_vowels "https://github.com/muhsinaids/codem_all/blob/main/Python/vowels_in_string.py"
click node_java_armstrong "https://github.com/muhsinaids/codem_all/blob/main/java/ArmstrongNumber.java"
click node_java_sort "https://github.com/muhsinaids/codem_all/blob/main/java/ArrayBubbleSort.java"
click node_java_prime "https://github.com/muhsinaids/codem_all/blob/main/java/CheckPrimeNumber.java"
click node_java_factorial "https://github.com/muhsinaids/codem_all/blob/main/java/factorial.java"
click node_java_fibonacci "https://github.com/muhsinaids/codem_all/blob/main/java/FibonacciSeries.java"
click node_java_largest "https://github.com/muhsinaids/codem_all/blob/main/java/largestnumber.java"
click node_java_palindrome "https://github.com/muhsinaids/codem_all/blob/main/java/palindrome.java"
click node_java_reverse "https://github.com/muhsinaids/codem_all/blob/main/java/reverse_string.java"
click node_java_triangle "https://github.com/muhsinaids/codem_all/blob/main/java/rightAngleTriangle.java"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_c_armstrong,node_c_sort,node_c_prime,node_c_factorial,node_c_fibonacci,node_c_largest,node_c_palindrome,node_c_reverse,node_c_triangle,node_c_digits,node_c_swap,node_c_vowels,node_user toneBlue
class node_py_armstrong,node_py_sort,node_py_prime,node_py_factorial,node_py_fibonacci,node_py_largest,node_py_palindrome,node_py_reverse,node_py_triangle,node_py_digits,node_py_swap,node_py_vowels toneAmber
class node_java_armstrong,node_java_sort,node_java_prime,node_java_factorial,node_java_fibonacci,node_java_largest,node_java_palindrome,node_java_reverse,node_java_triangle toneMint
```

## Components

### C examples

- [Armstrong check](https://github.com/muhsinaids/codem_all/blob/main/C/armstrong_number.c): `C/armstrong_number.c`
- [Bubble sort](https://github.com/muhsinaids/codem_all/blob/main/C/array_bubble_sort.c): `C/array_bubble_sort.c`
- [Prime check](https://github.com/muhsinaids/codem_all/blob/main/C/check_prime_number.c): `C/check_prime_number.c`
- [Factorial](https://github.com/muhsinaids/codem_all/blob/main/C/factorial.c): `C/factorial.c`
- [Fibonacci series](https://github.com/muhsinaids/codem_all/blob/main/C/fibonacci_series.c): `C/fibonacci_series.c`
- [Largest number](https://github.com/muhsinaids/codem_all/blob/main/C/largest_number.c): `C/largest_number.c`
- [Palindrome check](https://github.com/muhsinaids/codem_all/blob/main/C/palindrome.c): `C/palindrome.c`
- [Reverse string](https://github.com/muhsinaids/codem_all/blob/main/C/reverse_string.c): `C/reverse_string.c`
- [Right triangle](https://github.com/muhsinaids/codem_all/blob/main/C/right_triangle.c): `C/right_triangle.c`
- [Sum digits](https://github.com/muhsinaids/codem_all/blob/main/C/sum_of_digits_of_number.c): `C/sum_of_digits_of_number.c`
- [Swap numbers](https://github.com/muhsinaids/codem_all/blob/main/C/swap_two_numbers.c): `C/swap_two_numbers.c`
- [Vowel count](https://github.com/muhsinaids/codem_all/blob/main/C/vowels_in_string.c): `C/vowels_in_string.c`

### Python examples

- [Armstrong check](https://github.com/muhsinaids/codem_all/blob/main/Python/armstrong_number.py): `Python/armstrong_number.py`
- [Bubble sort](https://github.com/muhsinaids/codem_all/blob/main/Python/array_bubble_sort.py): `Python/array_bubble_sort.py`
- [Prime check](https://github.com/muhsinaids/codem_all/blob/main/Python/check_prime_number.py): `Python/check_prime_number.py`
- [Factorial](https://github.com/muhsinaids/codem_all/blob/main/Python/factorial.py): `Python/factorial.py`
- [Fibonacci series](https://github.com/muhsinaids/codem_all/blob/main/Python/fibonacci_series.py): `Python/fibonacci_series.py`
- [Largest number](https://github.com/muhsinaids/codem_all/blob/main/Python/largest_number.py): `Python/largest_number.py`
- [Palindrome check](https://github.com/muhsinaids/codem_all/blob/main/Python/number_palindrome.py): `Python/number_palindrome.py`
- [Reverse string](https://github.com/muhsinaids/codem_all/blob/main/Python/reverse_a_string.py): `Python/reverse_a_string.py`
- [Right triangle](https://github.com/muhsinaids/codem_all/blob/main/Python/right_triangle.py): `Python/right_triangle.py`
- [Sum digits](https://github.com/muhsinaids/codem_all/blob/main/Python/sum_of_digits_of_number.py): `Python/sum_of_digits_of_number.py`
- [Swap numbers](https://github.com/muhsinaids/codem_all/blob/main/Python/swap_two_numbers.py): `Python/swap_two_numbers.py`
- [Vowel count](https://github.com/muhsinaids/codem_all/blob/main/Python/vowels_in_string.py): `Python/vowels_in_string.py`

### Java examples

- [Armstrong check](https://github.com/muhsinaids/codem_all/blob/main/java/ArmstrongNumber.java): `java/ArmstrongNumber.java`
- [Bubble sort](https://github.com/muhsinaids/codem_all/blob/main/java/ArrayBubbleSort.java): `java/ArrayBubbleSort.java`
- [Prime check](https://github.com/muhsinaids/codem_all/blob/main/java/CheckPrimeNumber.java): `java/CheckPrimeNumber.java`
- [Factorial](https://github.com/muhsinaids/codem_all/blob/main/java/factorial.java): `java/factorial.java`
- [Fibonacci series](https://github.com/muhsinaids/codem_all/blob/main/java/FibonacciSeries.java): `java/FibonacciSeries.java`
- [Largest number](https://github.com/muhsinaids/codem_all/blob/main/java/largestnumber.java): `java/largestnumber.java`
- [Palindrome check](https://github.com/muhsinaids/codem_all/blob/main/java/palindrome.java): `java/palindrome.java`
- [Reverse string](https://github.com/muhsinaids/codem_all/blob/main/java/reverse_string.java): `java/reverse_string.java`
- [Right triangle](https://github.com/muhsinaids/codem_all/blob/main/java/rightAngleTriangle.java): `java/rightAngleTriangle.java`

### Other components

- **User**

## Connections

- User → Armstrong check: enters number (evidence: `C/armstrong_number.c`)
- Armstrong check → User: prints result (evidence: `C/armstrong_number.c`)
- User → Bubble sort: enters values (evidence: `C/array_bubble_sort.c`)
- Bubble sort → User: prints sorted values (evidence: `C/array_bubble_sort.c`)
- User → Fibonacci series: enters count (evidence: `C/fibonacci_series.c`)
- Fibonacci series → User: prints series (evidence: `C/fibonacci_series.c`)
- User → Swap numbers: enters numbers (evidence: `C/swap_two_numbers.c`)
- Swap numbers → User: prints swapped values (evidence: `C/swap_two_numbers.c`)
- User → Armstrong check: enters number (evidence: `Python/armstrong_number.py`)
- Armstrong check → User: prints result (evidence: `Python/armstrong_number.py`)
- User → Fibonacci series: enters count (evidence: `Python/fibonacci_series.py`)
- Fibonacci series → User: prints series (evidence: `Python/fibonacci_series.py`)
- User → Palindrome check: enters number (evidence: `Python/number_palindrome.py`)
- Palindrome check → User: prints result (evidence: `Python/number_palindrome.py`)
- User → Swap numbers: enters numbers (evidence: `Python/swap_two_numbers.py`)
- Swap numbers → User: prints swapped values (evidence: `Python/swap_two_numbers.py`)
- User → Armstrong check: enters number (evidence: `java/ArmstrongNumber.java`)
- Armstrong check → User: prints result (evidence: `java/ArmstrongNumber.java`)
- User → Bubble sort: enters values (evidence: `java/ArrayBubbleSort.java`)
- Bubble sort → User: prints sorted values (evidence: `java/ArrayBubbleSort.java`)
- User → Fibonacci series: enters count (evidence: `java/FibonacciSeries.java`)
- Fibonacci series → User: prints series (evidence: `java/FibonacciSeries.java`)
- User → Palindrome check: enters number (evidence: `java/palindrome.java`)
- Palindrome check → User: prints result (evidence: `java/palindrome.java`)
