Skip to content

alexngurecoder/Calculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

Basic Calculator Program 🧮

A simple Python calculator that allows the user to perform basic arithmetic operations:
Addition (+), Subtraction (-), Multiplication (*), and Division (/).


How It Works

  1. The program asks the user to input:

    • First number
    • Second number
    • A mathematical operation (+, -, *, /)
  2. It performs the chosen operation and prints the result.

  3. It also:

    • Prevents division by zero
    • Handles invalid operations gracefully

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages