Git Product home page Git Product logo

calculator-web-app's Introduction

Calculator-Web-App

The app was made with Angular CLI version 13.0.1, and Spring Boot version 2.5.7 with JAVA Spring Boot.

Overview :

This is Calculator web application by angular framework and spring boot. It allows to make several operations but give you the result every time you enter for new operand

Setup & ports:

  • For Front-end, it is on port 4200
  • For Back-end, it is on port 8080

Operations & Features:

The calculator supports basic operations. I classified them into two operands operations:

  • Addition
  • Subtraction
  • Multiplication
  • Division

And one operand operations:

  • Change the sign
  • Invert
  • Percentage
  • Square root
  • Squaring

User Guide:

  1. For using the web app, you can use your first operand then second operand then the operation.

  2. If you selected new operation the result of last calculation is stored and will be calculated in the new operation as first operand and the user enter the second operand.

  3. The last operand-or the result of last operation- and current operation will be visible in the app.

  4. If the equal button is pressed the user has the option to use the result in new operation or start a new calculation.

  5. Use CE to erases the current operand that you are inputting and C for clear all history.

  6. Use DEL button erases the last digit of operand.

  7. There is no division by ZERO allowed and no square root for NEGATIVE numbers.

  8. The user is not allowed to enter more than 9 digits in the screen

  9. The user can change the operation before entering the input for the new operand

Sample Runs:

Overview

Result

Dividing By Zero

Further help

To get more help on the Angular CLI use ng help or go check out the Angular CLI Overview and Command Reference page.

calculator-web-app's People

Contributors

mohamedmamdouh18 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.