Skip to content

This is a basic console-based calculator written in Java that performs simple arithmetic operations on two integers.

License

Notifications You must be signed in to change notification settings

Pooja11sree/Simple_Calculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

7 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

#πŸ”’ Simple Calculator in Java: This is a basic console-based calculator written in Java that performs simple arithmetic operations on two integers.

#βœ… Features : Addition (+) Subtraction (-) Multiplication (*) Division (/) with zero-division handling

#πŸ› οΈ How it works : Prompts the user to input two integers. Asks the user to select an arithmetic operation using the appropriate operator symbol. Performs the operation and displays the result. Validates against invalid operators and division by zero.

#πŸ“Œ Example : Enter two values to perform arithmetic operations: 10 5 Choose an operator to perform operation: Addition (+) Subtraction (-) Multiplication (*) Division (/) + Result: 15

#πŸ§‘β€πŸ’» Technologies Used : Java Scanner (for user input) Switch case (for operator handling)

About

This is a basic console-based calculator written in Java that performs simple arithmetic operations on two integers.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages