Skip to content

thireka07/Calculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Calculator

This project is a Calculator designed to perform basic arithmetic operations. It provides a clean and intuitive interface for calculations and supports both mouse and keyboard inputs. This app is ideal for quick calculations and includes features such as clearing inputs, removing the last character, and evaluating percentages.


Features

  • Basic Arithmetic Operations: Perform addition, subtraction, multiplication, division, and percentage calculations.
  • Keyboard Input Support: Use your keyboard for entering numbers, operators, and pressing Enter to evaluate.
  • Error Handling: Alerts users if invalid inputs or formats are used.
  • Clear Functions:
    • AC (All Clear): Clears the entire input.
    • C (Clear Last): Deletes the last entered character.
    • Real-time Evaluation: Automatically handles percentage conversions (%) to /100.

Technologies Used

  • HTML: For structuring the web page.
  • CSS: To enhance the user interface (you can customize).
  • JavaScript: For implementing the calculator's functionality and handling user interactions.

How to Use

  1. Open the Calculator:
    • Launch the app in a web browser.
  2. Enter Numbers and Operators:
    • Use the on-screen buttons or type directly using your keyboard.
    • Operators supported: +, -, *, /, %.
  3. Calculate:
    • Press = on the screen or Enter on your keyboard to see the result.
  4. Clear:
    • Use AC to clear all input or C to delete the last entered character.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published