Skip to content

Vaibhav-coder-king/simple-calculator_CUI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

6 Commits
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Simple-Calculator(CUI)

๐Ÿงฎ The Simple Calculator

A simple interactive CLI calculator made with Python. It supports basic and some advanced mathematical operations and displays fancy ASCII art using pyfiglet.

๐ŸŽฏ Features

This calculator supports the following operations:

โž• Addition (Add multiple numbers)

โž– Subtraction (Two numbers)

โœ–๏ธ Multiplication (Multiply multiple numbers)

โž— Division (Integer or Decimal division)

โšก Power (Exponentiation)

๐Ÿ” Remainder (Modulo operation)

๐Ÿ”ข Even or Odd Checker

๐Ÿ” Prime Number Checker

๐Ÿง  Factorial Calculator

๐Ÿšช Exit the program gracefully

๐Ÿ“ท Sample Output

image image image

๐Ÿ”ง Requirements

Python 3.x

pyfiglet

๐Ÿง  How It Works

Menu-based loop for user interaction

Input handling and error catching using try-except

Mathematical logic implemented using Python's built-in operators and functions

Fancy banner printed using pyfiglet

๐Ÿ›ก๏ธ Error Handling

Handles invalid inputs using try-except

Validates number inputs

Displays custom error messages for invalid choices

๐Ÿ“œ License

This project is licensed under the MIT License. Feel free to use and modify it.

๐Ÿ™‹โ€โ™‚๏ธ Author

Made BY Vaibhav-coder-king

About

A simple Python-based command-line calculator with multiple math operations and ASCII banner using pyfiglet.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages