# mry0957/basicpractice architecture

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

- Interactive diagram: https://gitdiagram.com/mry0957/basicpractice
- Repository: https://github.com/mry0957/basicpractice

## Overview

This repository is a small collection of standalone programming examples, not a single application. The visible C programs demonstrate character input, arithmetic, a menu-driven math utility, and string-length behavior. Each has its own entry point and user interaction; there is no shared runtime workflow. The C++ and Python files shown in the tree are empty, so they are omitted. Connections below show only the user starting each program; no shared internal layers are evidenced.

Main entry points: [`C/InputGetchar.c`](https://github.com/mry0957/basicpractice/blob/main/C/InputGetchar.c) (Getchar Input), [`C/InputScanf.c`](https://github.com/mry0957/basicpractice/blob/main/C/InputScanf.c) (Scanf Input), [`C/SimpleCalculator.c`](https://github.com/mry0957/basicpractice/blob/main/C/SimpleCalculator.c) (Basic Calculator), [`C/SwicthCase_bmath.c`](https://github.com/mry0957/basicpractice/blob/main/C/SwicthCase_bmath.c) (Math Menu)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_c_examples["C Examples"]
  node_character_getchar["Getchar Input<br/>[InputGetchar.c]"]
  node_character_scanf["Scanf Input<br/>[InputScanf.c]"]
  node_calculator["Basic Calculator<br/>[SimpleCalculator.c]"]
  node_math_menu["Math Menu<br/>[SwicthCase_bmath.c]"]
  node_string_lengths["String Length Demo<br/>[strlen_vs_sizeof.c]"]
end

node_user(("User"))

node_user -->|"runs"| node_character_getchar
node_user -->|"runs"| node_character_scanf
node_user -->|"runs"| node_calculator
node_user -->|"runs"| node_math_menu
node_user -->|"runs"| node_string_lengths

click node_character_getchar "https://github.com/mry0957/basicpractice/blob/main/C/InputGetchar.c"
click node_character_scanf "https://github.com/mry0957/basicpractice/blob/main/C/InputScanf.c"
click node_calculator "https://github.com/mry0957/basicpractice/blob/main/C/SimpleCalculator.c"
click node_math_menu "https://github.com/mry0957/basicpractice/blob/main/C/SwicthCase_bmath.c"
click node_string_lengths "https://github.com/mry0957/basicpractice/blob/main/C/strlen_vs_sizeof.c"

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_character_getchar,node_character_scanf,node_calculator,node_math_menu,node_string_lengths,node_user toneBlue
```

## Components

### C Examples

- [Getchar Input](https://github.com/mry0957/basicpractice/blob/main/C/InputGetchar.c): `C/InputGetchar.c`
- [Scanf Input](https://github.com/mry0957/basicpractice/blob/main/C/InputScanf.c): `C/InputScanf.c`
- [Basic Calculator](https://github.com/mry0957/basicpractice/blob/main/C/SimpleCalculator.c): `C/SimpleCalculator.c`
- [Math Menu](https://github.com/mry0957/basicpractice/blob/main/C/SwicthCase_bmath.c): `C/SwicthCase_bmath.c`
- [String Length Demo](https://github.com/mry0957/basicpractice/blob/main/C/strlen_vs_sizeof.c): `C/strlen_vs_sizeof.c`

### Other components

- **User**

## Connections

- User → Getchar Input: runs (evidence: `C/InputGetchar.c`)
- User → Scanf Input: runs (evidence: `C/InputScanf.c`)
- User → Basic Calculator: runs (evidence: `C/SimpleCalculator.c`)
- User → Math Menu: runs (evidence: `C/SwicthCase_bmath.c`)
- User → String Length Demo: runs (evidence: `C/strlen_vs_sizeof.c`)
