# ahmedsayed45/course-5 architecture

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

- Interactive diagram: https://gitdiagram.com/ahmedsayed45/course-5
- Repository: https://github.com/ahmedsayed45/course-5

## Overview

This repository is a collection of 30 independent C++ Course 5 exercise solutions, rather than a shared application or library. The README describes hands-on problem-solving exercises; sampled programs show console input, computation, and printed results, but each solution runs independently. The tree and source index identify all exercise source files, so each is represented below. Several files were not excerpted, so their specific problem behavior and internal call relationships are not inferred.

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_solutions["Course solutions"]
  node_p01["Problem 1<br/>[FirstProblem.cpp]"]
  node_p02["Problem 2<br/>[SecondProblem.cpp]"]
  node_p03["Problem 3<br/>[ThirdProblem.cpp]"]
  node_p04["Problem 4<br/>[FourthProblem.cpp]"]
  node_p05["Problem 5<br/>[FifthProblem.cpp]"]
  node_p06["Problem 6<br/>[SixthProblem.cpp]"]
  node_p07["Problem 7<br/>[SeventhProblem.cpp]"]
  node_p08["Problem 8<br/>[EighthProblem.cpp]"]
  node_p09["Problem 9<br/>[NinthProblem.cpp]"]
  node_p10["Problem 10<br/>[TenthProblem.cpp]"]
  node_p11["Problem 11"]
  node_p12["Problem 12<br/>[TwelfthProblem.cpp]"]
  node_p13["Problem 13"]
  node_p14["Problem 14"]
  node_p15["Problem 15"]
  node_p16["Problem 16"]
  node_p17["Problem 17"]
  node_p18["Problem 18"]
  node_p19["Problem 19"]
  node_p20["Problem 20"]
  node_p21["Problem 21"]
  node_p22["Problem 22"]
  node_p23["Problem 23"]
  node_p24["Problem 24"]
  node_p25["Problem 25"]
  node_p26["Problem 26"]
  node_p27["Problem 27"]
  node_p28["Problem 28"]
  node_p29["Problem 29"]
  node_p30["Problem 30"]
end

click node_p01 "https://github.com/ahmedsayed45/course-5/blob/main/1-First-Problem/FirstProblem.cpp"
click node_p02 "https://github.com/ahmedsayed45/course-5/blob/main/2-Second-Problem/SecondProblem.cpp"
click node_p03 "https://github.com/ahmedsayed45/course-5/blob/main/3-Third-Problem/ThirdProblem.cpp"
click node_p04 "https://github.com/ahmedsayed45/course-5/blob/main/4-Fourth-Problem/FourthProblem.cpp"
click node_p05 "https://github.com/ahmedsayed45/course-5/blob/main/5-Fifth-Problem/FifthProblem.cpp"
click node_p06 "https://github.com/ahmedsayed45/course-5/blob/main/6-Sixth-Problem/SixthProblem.cpp"
click node_p07 "https://github.com/ahmedsayed45/course-5/blob/main/7-Seventh-Problem/SeventhProblem.cpp"
click node_p08 "https://github.com/ahmedsayed45/course-5/blob/main/8-Eighth-Problem/EighthProblem.cpp"
click node_p09 "https://github.com/ahmedsayed45/course-5/blob/main/9-Ninth-Problem/NinthProblem.cpp"
click node_p10 "https://github.com/ahmedsayed45/course-5/blob/main/10-Tenth-Problem/TenthProblem.cpp"
click node_p11 "https://github.com/ahmedsayed45/course-5/blob/main/11-Eleventh-Problem/EleventhProblem.cpp"
click node_p12 "https://github.com/ahmedsayed45/course-5/blob/main/12-Twelfth-Problem/TwelfthProblem.cpp"
click node_p13 "https://github.com/ahmedsayed45/course-5/blob/main/13-Thirteenth-Problem/ThirteenthProblem.cpp"
click node_p14 "https://github.com/ahmedsayed45/course-5/blob/main/14-Fourteenth-Problem/FourteenthProblem.cpp"
click node_p15 "https://github.com/ahmedsayed45/course-5/blob/main/15-Fifteenth-Problem/FifteenthProblem.cpp"
click node_p16 "https://github.com/ahmedsayed45/course-5/blob/main/16-Sixteenth-Problem/SixteenthProblem.cpp"
click node_p17 "https://github.com/ahmedsayed45/course-5/blob/main/17-Seventeenth-Problem/SeventeenthProblem.cpp"
click node_p18 "https://github.com/ahmedsayed45/course-5/blob/main/18-Eighteenth-Problem/EighteenthProblem.cpp"
click node_p19 "https://github.com/ahmedsayed45/course-5/blob/main/19-Ninteenth-Problem/NinteenthProblem.cpp"
click node_p20 "https://github.com/ahmedsayed45/course-5/blob/main/20-Twentieth-Problem/TwentiethProblem.cpp"
click node_p21 "https://github.com/ahmedsayed45/course-5/blob/main/21-Twenty-First-Problem/TwentyFirstProblem.cpp"
click node_p22 "https://github.com/ahmedsayed45/course-5/blob/main/22-Twenty-Second-Problelm/TwentySecondProblem.cpp"
click node_p23 "https://github.com/ahmedsayed45/course-5/blob/main/23-Twenty-Third-Problem/TwentyThirdProblem.cpp"
click node_p24 "https://github.com/ahmedsayed45/course-5/blob/main/24-Twenty-Fourth-Problem/TwentyFourthProblem.cpp"
click node_p25 "https://github.com/ahmedsayed45/course-5/blob/main/25-Twenty-Fifth-Problem/TwentyFifthProblem.cpp"
click node_p26 "https://github.com/ahmedsayed45/course-5/blob/main/26-Twenty-Sixth-Problem/TwentySixthProblem.cpp"
click node_p27 "https://github.com/ahmedsayed45/course-5/blob/main/27-Twenty-Seventh-Problem/TwentySixthProblem.cpp"
click node_p28 "https://github.com/ahmedsayed45/course-5/blob/main/28-Twenty-Eighth-Problem/TwentyEighthProblem.cpp"
click node_p29 "https://github.com/ahmedsayed45/course-5/blob/main/29-Twenty-Ninth-Problem/TwentyNinthProblem.cpp"
click node_p30 "https://github.com/ahmedsayed45/course-5/blob/main/30-Thirtieth-Problem/ThirtiethProblem.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_p01,node_p02,node_p03,node_p04,node_p05,node_p06,node_p07,node_p08,node_p09,node_p10,node_p11,node_p12,node_p13,node_p14,node_p15,node_p16,node_p17,node_p18,node_p19,node_p20,node_p21,node_p22,node_p23,node_p24,node_p25,node_p26,node_p27,node_p28,node_p29,node_p30 toneBlue
```

## Components

### Course solutions

- [Problem 1](https://github.com/ahmedsayed45/course-5/blob/main/1-First-Problem/FirstProblem.cpp): `1-First-Problem/FirstProblem.cpp`
- [Problem 2](https://github.com/ahmedsayed45/course-5/blob/main/2-Second-Problem/SecondProblem.cpp): `2-Second-Problem/SecondProblem.cpp`
- [Problem 3](https://github.com/ahmedsayed45/course-5/blob/main/3-Third-Problem/ThirdProblem.cpp): `3-Third-Problem/ThirdProblem.cpp`
- [Problem 4](https://github.com/ahmedsayed45/course-5/blob/main/4-Fourth-Problem/FourthProblem.cpp): `4-Fourth-Problem/FourthProblem.cpp`
- [Problem 5](https://github.com/ahmedsayed45/course-5/blob/main/5-Fifth-Problem/FifthProblem.cpp): `5-Fifth-Problem/FifthProblem.cpp`
- [Problem 6](https://github.com/ahmedsayed45/course-5/blob/main/6-Sixth-Problem/SixthProblem.cpp): `6-Sixth-Problem/SixthProblem.cpp`
- [Problem 7](https://github.com/ahmedsayed45/course-5/blob/main/7-Seventh-Problem/SeventhProblem.cpp): `7-Seventh-Problem/SeventhProblem.cpp`
- [Problem 8](https://github.com/ahmedsayed45/course-5/blob/main/8-Eighth-Problem/EighthProblem.cpp): `8-Eighth-Problem/EighthProblem.cpp`
- [Problem 9](https://github.com/ahmedsayed45/course-5/blob/main/9-Ninth-Problem/NinthProblem.cpp): `9-Ninth-Problem/NinthProblem.cpp`
- [Problem 10](https://github.com/ahmedsayed45/course-5/blob/main/10-Tenth-Problem/TenthProblem.cpp): `10-Tenth-Problem/TenthProblem.cpp`
- [Problem 11](https://github.com/ahmedsayed45/course-5/blob/main/11-Eleventh-Problem/EleventhProblem.cpp): `11-Eleventh-Problem/EleventhProblem.cpp`
- [Problem 12](https://github.com/ahmedsayed45/course-5/blob/main/12-Twelfth-Problem/TwelfthProblem.cpp): `12-Twelfth-Problem/TwelfthProblem.cpp`
- [Problem 13](https://github.com/ahmedsayed45/course-5/blob/main/13-Thirteenth-Problem/ThirteenthProblem.cpp): `13-Thirteenth-Problem/ThirteenthProblem.cpp`
- [Problem 14](https://github.com/ahmedsayed45/course-5/blob/main/14-Fourteenth-Problem/FourteenthProblem.cpp): `14-Fourteenth-Problem/FourteenthProblem.cpp`
- [Problem 15](https://github.com/ahmedsayed45/course-5/blob/main/15-Fifteenth-Problem/FifteenthProblem.cpp): `15-Fifteenth-Problem/FifteenthProblem.cpp`
- [Problem 16](https://github.com/ahmedsayed45/course-5/blob/main/16-Sixteenth-Problem/SixteenthProblem.cpp): `16-Sixteenth-Problem/SixteenthProblem.cpp`
- [Problem 17](https://github.com/ahmedsayed45/course-5/blob/main/17-Seventeenth-Problem/SeventeenthProblem.cpp): `17-Seventeenth-Problem/SeventeenthProblem.cpp`
- [Problem 18](https://github.com/ahmedsayed45/course-5/blob/main/18-Eighteenth-Problem/EighteenthProblem.cpp): `18-Eighteenth-Problem/EighteenthProblem.cpp`
- [Problem 19](https://github.com/ahmedsayed45/course-5/blob/main/19-Ninteenth-Problem/NinteenthProblem.cpp): `19-Ninteenth-Problem/NinteenthProblem.cpp`
- [Problem 20](https://github.com/ahmedsayed45/course-5/blob/main/20-Twentieth-Problem/TwentiethProblem.cpp): `20-Twentieth-Problem/TwentiethProblem.cpp`
- [Problem 21](https://github.com/ahmedsayed45/course-5/blob/main/21-Twenty-First-Problem/TwentyFirstProblem.cpp): `21-Twenty-First-Problem/TwentyFirstProblem.cpp`
- [Problem 22](https://github.com/ahmedsayed45/course-5/blob/main/22-Twenty-Second-Problelm/TwentySecondProblem.cpp): `22-Twenty-Second-Problelm/TwentySecondProblem.cpp`
- [Problem 23](https://github.com/ahmedsayed45/course-5/blob/main/23-Twenty-Third-Problem/TwentyThirdProblem.cpp): `23-Twenty-Third-Problem/TwentyThirdProblem.cpp`
- [Problem 24](https://github.com/ahmedsayed45/course-5/blob/main/24-Twenty-Fourth-Problem/TwentyFourthProblem.cpp): `24-Twenty-Fourth-Problem/TwentyFourthProblem.cpp`
- [Problem 25](https://github.com/ahmedsayed45/course-5/blob/main/25-Twenty-Fifth-Problem/TwentyFifthProblem.cpp): `25-Twenty-Fifth-Problem/TwentyFifthProblem.cpp`
- [Problem 26](https://github.com/ahmedsayed45/course-5/blob/main/26-Twenty-Sixth-Problem/TwentySixthProblem.cpp): `26-Twenty-Sixth-Problem/TwentySixthProblem.cpp`
- [Problem 27](https://github.com/ahmedsayed45/course-5/blob/main/27-Twenty-Seventh-Problem/TwentySixthProblem.cpp): `27-Twenty-Seventh-Problem/TwentySixthProblem.cpp`
- [Problem 28](https://github.com/ahmedsayed45/course-5/blob/main/28-Twenty-Eighth-Problem/TwentyEighthProblem.cpp): `28-Twenty-Eighth-Problem/TwentyEighthProblem.cpp`
- [Problem 29](https://github.com/ahmedsayed45/course-5/blob/main/29-Twenty-Ninth-Problem/TwentyNinthProblem.cpp): `29-Twenty-Ninth-Problem/TwentyNinthProblem.cpp`
- [Problem 30](https://github.com/ahmedsayed45/course-5/blob/main/30-Thirtieth-Problem/ThirtiethProblem.cpp): `30-Thirtieth-Problem/ThirtiethProblem.cpp`
