# muhammadhussaincs/fast-lab-07-tasks architecture

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

- Interactive diagram: https://gitdiagram.com/muhammadhussaincs/fast-lab-07-tasks
- Repository: https://github.com/muhammadhussaincs/fast-lab-07-tasks

## Overview

This repository is a set of standalone C array exercises, not a unified application. Each program demonstrates a separate workflow: transpose and print a matrix, enter student marks and produce a revised report, or summarize and correct weekly temperatures. The excerpts do not establish any calls between these programs. cafeteria.c is empty, so it has no evidenced runtime behavior.

Main entry points: [`array_ex.c`](https://github.com/muhammadhussaincs/fast-lab-07-tasks/blob/main/array_ex.c) (Transpose matrix), [`marks.c`](https://github.com/muhammadhussaincs/fast-lab-07-tasks/blob/main/marks.c) (Enter marks), [`temp.c`](https://github.com/muhammadhussaincs/fast-lab-07-tasks/blob/main/temp.c) (Temperature summary)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_matrix["Matrix Exercise"]
  node_transpose["Transpose matrix<br/>[array_ex.c]"]
  node_matrix_output["Matrix output<br/>[array_ex.c]"]
end

subgraph group_marks["Marks Exercise"]
  node_mark_entry["Enter marks<br/>[marks.c]"]
  node_mark_report["Marks report<br/>[marks.c]"]
end

subgraph group_weather["Temperature Exercise"]
  node_temperature["Temperature summary<br/>[temp.c]"]
  node_corrected_temperature["Corrected readings<br/>[temp.c]"]
end

node_user(("Console user"))

node_user -->|"runs program"| node_transpose
node_transpose -->|"prints matrix"| node_matrix_output
node_user -->|"enters marks"| node_mark_entry
node_mark_entry -->|"updates marks"| node_mark_report
node_user -->|"runs program"| node_temperature
node_temperature -->|"corrects reading"| node_corrected_temperature

click node_transpose "https://github.com/muhammadhussaincs/fast-lab-07-tasks/blob/main/array_ex.c"
click node_matrix_output "https://github.com/muhammadhussaincs/fast-lab-07-tasks/blob/main/array_ex.c"
click node_mark_entry "https://github.com/muhammadhussaincs/fast-lab-07-tasks/blob/main/marks.c"
click node_mark_report "https://github.com/muhammadhussaincs/fast-lab-07-tasks/blob/main/marks.c"
click node_temperature "https://github.com/muhammadhussaincs/fast-lab-07-tasks/blob/main/temp.c"
click node_corrected_temperature "https://github.com/muhammadhussaincs/fast-lab-07-tasks/blob/main/temp.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_transpose,node_matrix_output,node_user toneBlue
class node_mark_entry,node_mark_report toneAmber
class node_temperature,node_corrected_temperature toneMint
```

## Components

### Matrix Exercise

- [Transpose matrix](https://github.com/muhammadhussaincs/fast-lab-07-tasks/blob/main/array_ex.c): `array_ex.c`
- [Matrix output](https://github.com/muhammadhussaincs/fast-lab-07-tasks/blob/main/array_ex.c): `array_ex.c`

### Marks Exercise

- [Enter marks](https://github.com/muhammadhussaincs/fast-lab-07-tasks/blob/main/marks.c): `marks.c`
- [Marks report](https://github.com/muhammadhussaincs/fast-lab-07-tasks/blob/main/marks.c): `marks.c`

### Temperature Exercise

- [Temperature summary](https://github.com/muhammadhussaincs/fast-lab-07-tasks/blob/main/temp.c): `temp.c`
- [Corrected readings](https://github.com/muhammadhussaincs/fast-lab-07-tasks/blob/main/temp.c): `temp.c`

### Other components

- **Console user**

## Connections

- Console user → Transpose matrix: runs program (evidence: `array_ex.c`)
- Transpose matrix → Matrix output: prints matrix (evidence: `array_ex.c`)
- Console user → Enter marks: enters marks (evidence: `marks.c`)
- Enter marks → Marks report: updates marks (evidence: `marks.c`)
- Console user → Temperature summary: runs program (evidence: `temp.c`)
- Temperature summary → Corrected readings: corrects reading (evidence: `temp.c`)
