Download as pdf or txt
Download as pdf or txt
You are on page 1of 16

Calculator using Java

Project By:

Mr. Garvit Anand


CSE Dept.
RKGIT Ghaziabad
Contents
 Project Objective
 What I learn?
 Software Requirements
 End Users?
 Flow chart of calculator working model.
 Future enhancement
 Reference
Project Objective
 To develop an simple calculator using Java
which provides :
 Simple arithmetic operation.
 The operation performed are
Addition.
Subtraction.
Multiplication.
Division.
Clearing the content of the screen.
Introduction
 A calculator is a small, portable, often
inexpensive electronic device that is used to
perform both basic and complex operation of
arithmetic.
Methods

 Install Java on mine machine.


 Install Java Ide (eg Netbeans, Eclipse).
What I learnt?
Technical Learning

 Java Programming
 Eclipse.
 Core Java.
 Java swing.

General Learning

• How to design and implement coding


Skills.
Methods(cont.)
 First of all I make a layout how I want my
calculator to look like.
 As soon as layout completes I started coding
and using Java swing I make the layout of the
calculator
 Now continuing further I had to make sure
that all keys are correctly performing
operation on he screen.
Methods(cont.)
 Now I add some logic so that we can
concatenate two or more number and add
logic to perform basic arithmetic operation.
 To do so either first I use switch case logic
later I use ScriptEngineManager() method
Methods(cont.)
 As soon as coding gets completed I run &
debug mine code and wow great calculator
start working.
 Now I decided to make further description of
mine project so that it can help others to.
End Users?
 Professional Office Worker.
 Desktop user
 Students
Software Requirements
 Eclipse.
 Java version( 1.8.0_65)
 JDK ( Java development Kit)
 Java IDE (Integrated development
Environment)
Flow chart
of
Calculator working
model
Future enhancement

 Designing my own scientific calculator.


 Implement this calculator on desktop.
 Make this calculator more interactive and may
use deep learning and AI so that I can text to
speech the numbers.
Reference

https://www.google.co.in

https://www.oracle.com/

https://eclipse.org/

https://www.javatpoint.com/java-swing
Thank You

You might also like