Skip to content

hafihaf123/calculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

calculator

This Java program is a simple calculator that evaluates expressions entered by the user and outputs the result. The program can handle basic arithmetic operations as well as more advanced operations like logarithms, exponentials, and trigonometric functions. The calculator also includes several additional features, such as unit conversion and solving quadratic equations.

To use the calculator, simply run the "calc" class in your Java environment and enter an expression when prompted. The calculator will evaluate the expression and output the result.

If the expression starts with a "/", the calculator will interpret it as a command and provide additional options for advanced operations. The available options include prism, quadratic function, rule of three, and unit conversion.

This calculator is a useful tool for anyone who needs to perform calculations quickly and accurately. It's also a great resource for students learning Java programming, as it demonstrates how to build a simple yet powerful calculator using Java.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages