Skip to main content
Version: 1.0

๐Ÿ“ฑ Basic Calculator

This calculator supports basic arithmetic operations and includes several utility functions.


๐Ÿ–ฅ๏ธ Displayโ€‹

  • Top display screen shows the current input or result.
  • Starts with 0 and updates as you enter numbers and operations.

๐Ÿงฎ Button Functionsโ€‹

๐Ÿ”˜ Top Rowโ€‹

ButtonFunction
ACClears all input and resets the calculator to 0
ยฑToggles the sign of the current number (positive/negative)
%Converts the current number to a percentage (divides by 100)
รทDivision operation

๐Ÿ”ข Number Buttons (0โ€“9)โ€‹

  • Used to input numeric values.

โœ–๏ธ โž• โž– Arithmetic Operationsโ€‹

ButtonFunction
ร—Multiplication
โˆ’Subtraction
+Addition

โฌ‡๏ธ Bottom Rowโ€‹

ButtonFunction
0Input the number 0
.Adds a decimal point to input a floating-point number
=Calculates the result based on entered expression

๐Ÿ“ Example Usageโ€‹

  1. Addition: Tap 2, then +, then 3, then = โ†’ Display shows 5

  2. Percentage: Tap 50, then % โ†’ Display shows 0.5

  3. Change Sign: Tap 9, then ยฑ โ†’ Display shows -9

  4. Clear All: Tap AC โ†’ Display resets to 0


๐Ÿ“Œ Notesโ€‹

  • Only one operation can be performed at a time (e.g., no parentheses or order of operations).
  • Decimal calculations are supported.
  • The calculator operates immediately when = is pressed.