Skip to content

Calculator built in c++ using OOPs concepts to perform addition, subtraction, multiplication and division

License

Notifications You must be signed in to change notification settings

vmantrip762000/arithematic-calculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

arithematic-calculator

This enhanced code provides a user-friendly, robust, and object-oriented C++ arithmetic calculator implementation.

Code Description

Functions: getvalue1() - Gets the first floating-point value. getvalue2() - Gets the second floating-point value. getOp() - Decides the operation to be performed (+, -, *, /) and also terminates the program.

Variables: a, b, c are 3 floating-point variables op is 1 character variable for the operation

Achievements: Built a user-friendly and simple-to-use arithmetic calculator. Learned and implemented unique functions to accept user inputs, perform user-defined operations, and display output to the user. Constructed meaningful logic-based loops to minimize lines of code and reduce repetitive calculations.

About

Calculator built in c++ using OOPs concepts to perform addition, subtraction, multiplication and division

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages