Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Jamersom-silva/factorial_calculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

📌 Factorial Calculator

A simple application that calculates the factorial of a positive integer, built to practice programming logic and mathematical functions.


🚀 Demo

🌐 Live Demo: https://seu-app.onrender.com

Example:

5! = 120

🧠 What is a factorial?

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

⚙️ Features

  • Calculates factorial of integers
  • Input validation
  • Instant or runtime result output
  • Simple interface (if frontend is included)

🛠️ Technologies Used

  • Python – Core logic for factorial calculation
  • HTML – Structure of the interface
  • CSS – Styling and layout design

📦 How to Run the Project

🔹 Clone the repository

git clone https://github.com/Jamersom-silva/factorial_calculator
cd factorial_calculator

🔹 Run the project

Python example:

python main.py

🧮 Example Usage

Input:

Enter a number: 6

Output:

Result: 720

📁 Project Structure

factorial_calculator/
│
├── main.py / index.js
├── README.md
└── other files

🎯 Purpose of the Project

This project was built to practice:

  • Mathematical logic
  • Recursive / iterative functions
  • Input and output handling
  • Basic project structure

👨‍💻 Author

Developed by Jamersom Silva


📌 License

This project is licensed under the MIT License.

About

Web application developed in Python/Flask for calculating factorials, using rendering with Jinja2, form validation and an organized structure with templates and static files.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors