A simple application that calculates the factorial of a positive integer, built to practice programming logic and mathematical functions.
🌐 Live Demo: https://seu-app.onrender.com
Example:
5! = 120
The factorial of a number n is the product of all positive integers from 1 to n.
Example:
5! = 5 × 4 × 3 × 2 × 1 = 120
- Calculates factorial of integers
- Input validation
- Instant or runtime result output
- Simple interface (if frontend is included)
- Python – Core logic for factorial calculation
- HTML – Structure of the interface
- CSS – Styling and layout design
git clone https://github.com/Jamersom-silva/factorial_calculator
cd factorial_calculatorpython main.pyInput:
Enter a number: 6
Output:
Result: 720
factorial_calculator/
│
├── main.py / index.js
├── README.md
└── other files
This project was built to practice:
- Mathematical logic
- Recursive / iterative functions
- Input and output handling
- Basic project structure
Developed by Jamersom Silva
This project is licensed under the MIT License.