/simple-calculator

[Completed] This repository contains a very simple calculator

Primary LanguageGo

Simple Calculator

This repository contains a very simple calculator written in Go. The calculator can perform basic arithmetic operations including addition, subtraction, multiplication, and division.

Features

  • Addition
  • Subtraction
  • Multiplication
  • Division

Follow the Prompts:

  • Enter the first number.
  • Enter the operator (+, -, *, /).
  • Enter the second number.
  • The result will be displayed.

Example:

  • Enter the first number: 20
  • Enter the operator (+, -, *, /): +
  • Enter the second number: 5
  • 20.00 + 5.00 = 25.00

Requirements

  • Go 1.16 or higher