# ege99/otomatproje architecture

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

- Interactive diagram: https://gitdiagram.com/ege99/otomatproje
- Repository: https://github.com/ege99/otomatproje

## Overview

This is a small C++ console vending-machine simulation. The user views a product-and-price menu, enters an amount and product number, and receives the calculated remaining balance. The sampled source shows the full runtime flow; it does not show persistent storage or external integrations.

Main entry points: [`ConsoleApplication20/ConsoleApplication20/OTOMAT_CPP_ODEVİ.cpp`](https://github.com/ege99/otomatproje/blob/master/ConsoleApplication20/ConsoleApplication20/OTOMAT_CPP_ODEV%C4%B0.cpp) (Console flow)

## Diagram (Mermaid)

```mermaid
flowchart TD

node_user(("User"))
node_console["Console flow"]
node_menu["Product menu"]
node_calculator["Change calculator"]

node_user -->|"enters purchase"| node_console
node_console -->|"displays menu"| node_menu
node_console -->|"passes purchase"| node_calculator
node_calculator -->|"returns change"| node_console
node_console -->|"prints result"| node_user

click node_console "https://github.com/ege99/otomatproje/blob/master/ConsoleApplication20/ConsoleApplication20/OTOMAT_CPP_ODEV%C4%B0.cpp"
click node_menu "https://github.com/ege99/otomatproje/blob/master/ConsoleApplication20/ConsoleApplication20/OTOMAT_CPP_ODEV%C4%B0.cpp"
click node_calculator "https://github.com/ege99/otomatproje/blob/master/ConsoleApplication20/ConsoleApplication20/OTOMAT_CPP_ODEV%C4%B0.cpp"

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_user toneBlue
class node_console,node_menu,node_calculator toneTeal
```

## Components

### Other components

- **User**
- [Console flow](https://github.com/ege99/otomatproje/blob/master/ConsoleApplication20/ConsoleApplication20/OTOMAT_CPP_ODEV%C4%B0.cpp): `ConsoleApplication20/ConsoleApplication20/OTOMAT_CPP_ODEVİ.cpp`
- [Product menu](https://github.com/ege99/otomatproje/blob/master/ConsoleApplication20/ConsoleApplication20/OTOMAT_CPP_ODEV%C4%B0.cpp): `ConsoleApplication20/ConsoleApplication20/OTOMAT_CPP_ODEVİ.cpp`
- [Change calculator](https://github.com/ege99/otomatproje/blob/master/ConsoleApplication20/ConsoleApplication20/OTOMAT_CPP_ODEV%C4%B0.cpp): `ConsoleApplication20/ConsoleApplication20/OTOMAT_CPP_ODEVİ.cpp`

## Connections

- User → Console flow: enters purchase (evidence: `ConsoleApplication20/ConsoleApplication20/OTOMAT_CPP_ODEVİ.cpp`)
- Console flow → Product menu: displays menu (evidence: `ConsoleApplication20/ConsoleApplication20/OTOMAT_CPP_ODEVİ.cpp`)
- Console flow → Change calculator: passes purchase (evidence: `ConsoleApplication20/ConsoleApplication20/OTOMAT_CPP_ODEVİ.cpp`)
- Change calculator → Console flow: returns change (evidence: `ConsoleApplication20/ConsoleApplication20/OTOMAT_CPP_ODEVİ.cpp`)
- Console flow → User: prints result (evidence: `ConsoleApplication20/ConsoleApplication20/OTOMAT_CPP_ODEVİ.cpp`)
