# kenseiisme/programming-assignment architecture

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

- Interactive diagram: https://gitdiagram.com/kenseiisme/programming-assignment
- Repository: https://github.com/kenseiisme/programming-assignment

## Overview

This is a C++ console application for managing customer and membership accounts, appointments, services, and payments. The visible entry point initializes a yearly schedule, loads it from a file, initializes appointment numbering, and enters the main menu. The large implementation is a single source file; the excerpt shows appointment and payment-related behavior but does not expose enough calls to map those domain stages reliably. The repository provides no README description, and the excerpts do not establish persistence details beyond schedule loading.

Main entry points: [`Assignment.cpp`](https://github.com/kenseiisme/programming-assignment/blob/Assignment/Assignment.cpp) (Application workflow)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_accounts["Accounts"]
  node_account_ops["Account management<br/>[Assignment.cpp]"]
end

subgraph group_appointments["Appointments"]
  node_appointment_ops["Appointment scheduling<br/>[Assignment.cpp]"]
  node_schedule_file["Schedule file"]
end

subgraph group_billing["Billing"]
  node_payment_ops["Payment and receipts<br/>[Assignment.cpp]"]
end

node_user(("Console user"))
node_app["Application workflow<br/>[Assignment.cpp]"]

node_user -->|"selects options"| node_app
node_app -->|"loads schedule"| node_schedule_file

click node_app "https://github.com/kenseiisme/programming-assignment/blob/Assignment/Assignment.cpp"
click node_account_ops "https://github.com/kenseiisme/programming-assignment/blob/Assignment/Assignment.cpp"
click node_appointment_ops "https://github.com/kenseiisme/programming-assignment/blob/Assignment/Assignment.cpp"
click node_payment_ops "https://github.com/kenseiisme/programming-assignment/blob/Assignment/Assignment.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_account_ops,node_user toneBlue
class node_appointment_ops,node_schedule_file toneAmber
class node_payment_ops toneMint
class node_app toneTeal
```

## Components

### Accounts

- [Account management](https://github.com/kenseiisme/programming-assignment/blob/Assignment/Assignment.cpp): `Assignment.cpp`

### Appointments

- [Appointment scheduling](https://github.com/kenseiisme/programming-assignment/blob/Assignment/Assignment.cpp): `Assignment.cpp`
- **Schedule file**

### Billing

- [Payment and receipts](https://github.com/kenseiisme/programming-assignment/blob/Assignment/Assignment.cpp): `Assignment.cpp`

### Other components

- **Console user**
- [Application workflow](https://github.com/kenseiisme/programming-assignment/blob/Assignment/Assignment.cpp): `Assignment.cpp`

## Connections

- Console user → Application workflow: selects options (evidence: `Assignment.cpp`)
- Application workflow → Schedule file: loads schedule (evidence: `Assignment.cpp`)
