Code Monkey home page Code Monkey logo

java-calculator's Introduction

java_calculator

자바 계산기 구현 미션 Repository입니다.

이곳은 공개 Repo입니다.

  1. 여러분의 포트폴리오로 사용하셔도 됩니다.
  2. 때문에 이 repo를 fork한 뒤
  3. 여러분의 개인 Repo에 작업하며
  4. 이 Repo에 PR을 보내어 멘토의 코드 리뷰와 피드백을 받으세요.

Branch 명명 규칙 + 팀의 PR규칙 정하기

  1. 여러분 repo는 알아서 해주시고 😀(본인 레포니 main으로 하셔두 되져)
  2. prgrms-be-devcourse/spring-board 레포로 PR시 branch는 gituser_id을 적어주세요 :)
    • base repo : 여기repo base : username ← head repo : 여러분repo compare : main또는 github_id
  3. 실제 진행할 PR규칙은 멘토+팀원들과 정하여 진행해주세요 :)
    • ← head repo : 여러분repo compare : main로 할지
    • 또는 ← head repo : 여러분repo compare : github_id로 할지

과제를 통해 기대하는 역량

  • 깃허브를 통한 코드리뷰를 경험해보자
  • 기본적인 테스트 코드 작성 및 활용하는 능력해보자
  • 스스로 OOP를 생각하고 코드로 옮길 수 있는 능력해보자

요구사항

  • 콘솔로 구현입니다.(스윙으로 구현하시는 분들 계실까봐)
  • 객체지향적인 코드로 계산기 구현하기
    • 더하기
    • 빼기
    • 곱하기
    • 나누기
    • 우선순위(사칙연산)
  • 테스트 코드 구현하기
  • 계산 이력을 맵으로 데이터 저장기능 만들기
    • 애플리케이션이 동작하는 동안 데이터베이스 외에 데이터를 저장할 수 있는 방법을 고안해보세요.
  • (선택) 정규식 사용

실행결과(콘솔)

1. 조회
2. 계산

선택 : 2

1 + 2
3

1. 조회
2. 계산

선택 : 2

1 + 2 * 3
7

1. 조회
2. 계산

선택 : 1

1 + 2 = 3
1 + 2 * 3 = 7

선택 : 2

3 - 2 * 2
-1

java-calculator's People

Contributors

goshkim avatar learn-programmers avatar ksy90101 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.