This repository contains the implementation of various algorithms in pseudocode and their corresponding flowcharts. Each algorithm is designed to solve specific problems using fundamental control structures such as conditions, loops, and mathematical operations.
This project includes the following exercises:
Description: An algorithm that prompts for two integer numbers and determines which one is larger.
- Pseudocode: Implemented in PSeInt.
- Flowchart: Graphical representation of the comparison logic.
Description: An algorithm that prompts for an integer number and verifies whether it is divisible by 3 using the modulo operation.
- Pseudocode: Implemented in PSeInt.
- Flowchart: Representation of the decision-making process.
Description: The user inputs a base a
and a maximum exponent k
. The program calculates all powers of a
up to a^k
.
- Pseudocode: Implemented in PSeInt.
- Flowchart: Representation of the iteration loop.
Description: A menu-driven program that allows entering the prices of three items and calculating the total excluding VAT, VAT at 16%, and the total cost including VAT.
- Pseudocode: Implemented in PSeInt.
- Flowchart: Representation of the calculation process and menu-driven decision-making.
To run and visualize the flowcharts in this project, it is recommended to use:
- PSeInt (To execute the pseudocode).
- Graphviz (To generate flowcharts in Python).
sudo apt update
sudo apt full-upgrade -y
sudo apt install graphviz python3-graphviz -y
python3 python_grafico.py
If you prefer to use pip3, install Graphviz and its Python library with:
pip3 install graphviz
You are free to use it for educational and academic purposes.
🛠 Developed by: H4Ck10uS01
📌 Contact: github.com/H4Ck10uS01