# nathanxvs/try architecture

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

- Interactive diagram: https://gitdiagram.com/nathanxvs/try
- Repository: https://github.com/nathanxvs/try

## Overview

This repository is a collection of introductory programming exercises, not a single application. The sampled Python scripts each run independently: a user supplies input where needed, the script performs a small calculation or decision, and results are printed. The tree also contains many Pascal exercises, but their behavior and relationships are not established by the supplied excerpts; they are therefore not represented here.

Main entry points: [`Python/hitung gaji.py`](https://github.com/nathanxvs/try/blob/master/Python/hitung%20gaji.py) (Payroll Exercise), [`Python/BMI.py`](https://github.com/nathanxvs/try/blob/master/Python/BMI.py) (BMI Exercise), [`Python/login.py`](https://github.com/nathanxvs/try/blob/master/Python/login.py) (Login Exercise), [`Python/looping.py`](https://github.com/nathanxvs/try/blob/master/Python/looping.py) (Loop Exercise)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_calculations["Calculations"]
  node_payroll["Payroll Exercise<br/>[hitung gaji.py]"]
  node_bmi["BMI Exercise<br/>[BMI.py]"]
end

subgraph group_control_flow["Control Flow"]
  node_login["Login Exercise<br/>[login.py]"]
  node_loop["Loop Exercise<br/>[looping.py]"]
  node_even["Even Numbers<br/>[genap.py]"]
end

node_user(("User"))
node_console["Console"]

node_user -->|"enters values"| node_payroll
node_payroll -->|"prints pay"| node_console
node_user -->|"enters measurements"| node_bmi
node_bmi -->|"prints BMI"| node_console
node_user -->|"enters credentials"| node_login
node_login -->|"prints status"| node_console
node_user -->|"chooses repeat"| node_loop
node_loop -->|"prints messages"| node_console
node_even -->|"prints even values"| node_console

click node_payroll "https://github.com/nathanxvs/try/blob/master/Python/hitung%20gaji.py"
click node_bmi "https://github.com/nathanxvs/try/blob/master/Python/BMI.py"
click node_login "https://github.com/nathanxvs/try/blob/master/Python/login.py"
click node_loop "https://github.com/nathanxvs/try/blob/master/Python/looping.py"
click node_even "https://github.com/nathanxvs/try/blob/master/Python/genap.py"

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_payroll,node_bmi,node_user toneBlue
class node_login,node_loop,node_even toneAmber
class node_console toneIndigo
```

## Components

### Calculations

- [Payroll Exercise](https://github.com/nathanxvs/try/blob/master/Python/hitung%20gaji.py): `Python/hitung gaji.py`
- [BMI Exercise](https://github.com/nathanxvs/try/blob/master/Python/BMI.py): `Python/BMI.py`

### Control Flow

- [Login Exercise](https://github.com/nathanxvs/try/blob/master/Python/login.py): `Python/login.py`
- [Loop Exercise](https://github.com/nathanxvs/try/blob/master/Python/looping.py): `Python/looping.py`
- [Even Numbers](https://github.com/nathanxvs/try/blob/master/Python/genap.py): `Python/genap.py`

### Other components

- **User**
- **Console**

## Connections

- User → Payroll Exercise: enters values (evidence: `Python/hitung gaji.py`)
- Payroll Exercise → Console: prints pay (evidence: `Python/hitung gaji.py`)
- User → BMI Exercise: enters measurements (evidence: `Python/BMI.py`)
- BMI Exercise → Console: prints BMI (evidence: `Python/BMI.py`)
- User → Login Exercise: enters credentials (evidence: `Python/login.py`)
- Login Exercise → Console: prints status (evidence: `Python/login.py`)
- User → Loop Exercise: chooses repeat (evidence: `Python/looping.py`)
- Loop Exercise → Console: prints messages (evidence: `Python/looping.py`)
- Even Numbers → Console: prints even values (evidence: `Python/genap.py`)
