Skip to main content

Questions tagged [calculator]

This tag is for questions about calculators.

6 votes
2 answers
626 views

Python calculator application

What do you think about my calculator application in Python? Are there any hidden bugs that I haven't noticed yet? Let me know about them. Note: to be able to run this program you need first to ...
whiteman808's user avatar
8 votes
4 answers
994 views

Python implementation of core fundamentals to calculate math arithmetic

This program takes a user input to choose which calculation method they'd like to use, then uses a separate module and the math library to perform said calculation. I'd like some feedback as to how ...
JackInDaBeanSock's user avatar
6 votes
3 answers
675 views

Interactive simple calculator as a first project. As of now it handles arithmetic, linear and quadratic calculations

This is my very first personal project. I'd like to know what I can improve in this code, with reference to optimization and efficiency. Here's the code: ...
new_coder's user avatar
6 votes
2 answers
827 views

Trying out templates in C++ to build a simple calculator

I just started some time ago with C++, and now I wanted to play around a bit with templates. I made a simple calculator that is decent working now. It was a bit of hard way for me to get there because ...
Cats's user avatar
  • 165
5 votes
2 answers
178 views

C++ arithmetic calculator built without resorting to tree structure as conventionally done, but by parsing input string and then std::stoi

Lately I came across a book exercise that asked to implement a calculator by resorting only to std::string manipulation. I avoided C++ streams as well, as they are ...
Giogre's user avatar
  • 515
10 votes
3 answers
1k views

Basic Terminal Calculator in C++

I'm a freshman Computer Science major looking to build projects for my portfolio. I'm new to C++ and programming in general. Is there any way I can improve this basic calculator I've made? Also, what ...
Rajah Williams's user avatar
6 votes
2 answers
488 views

OOP Calculator Program

I am building a Calculator in C++ OOP style. I made 3 Classes: UserInterface, which is responsible for Input and Output of the User. Calculation, which is responsible for the logic of the Calculator. ...
Anon26's user avatar
  • 61
14 votes
3 answers
2k views

C# basic calculator

I just started learning C#, and I don't want to use any Youtube tutorials if not necessary. I made a basic calculator, but I feel like I could've used more of the advantages of C#. And what I did that ...
Voizzie's user avatar
  • 143
1 vote
5 answers
181 views

Apply calculator operations to Strings

I've got the following Java (8) code, think of it as a kind of calculator that reads numbers from a file and then applies an operation (with another number, both supplied by the user) to each one: <...
Neph's user avatar
  • 131
6 votes
1 answer
102 views

Simple calculator app in Rust

To learn about Rust and parsing, I wrote a simple calculator that can solve problems involving the four basic operations (+, -, *, /) as well as exponentiation. For the sake of simplicity and ...
Arbel Groshaus's user avatar
8 votes
3 answers
594 views

Simple console calculator app. Looking for structure/best practices tips

I'm very much new to coding. The template for a .NET Console app opens up blank. I added lines like using System.ComponentModel.Design; ...
Mouserr's user avatar
  • 81
4 votes
1 answer
153 views

Advanced Python Calculator using OOP

I've been into computer science fundamentals (proper data structures/algorithms/etc) including Object Oriented Programming. Therefore, I decided to reformat my old traditional Python Calculator into ...
Raphael Irvin's user avatar
8 votes
2 answers
901 views

Operator-precedence calculator in C

Recently, I've been wanting to do some larger C projects than I'm used to, since I really like the language. So, as a first step, I decided to implement a nice calculator. My end goal is implementing ...
Cecilia's user avatar
  • 183
4 votes
3 answers
365 views

Calculation of centrifugal liquid propellant injectors

There is this code in which the calculation of the centrifugal nozzle of a liquid rocket engine is performed. All basic calculations take place in the Injector ...
DYNAMIC AEROSPACE's user avatar
3 votes
1 answer
202 views

Advanced String Calculator in C++

This is a follow-up question for String Calculator in C++. Considering the suggestions mentioned in MrBean Bremen's answer and Martin York's answer. I am trying to modify the code and trying to ...
JimmyHu's user avatar
  • 7,535

15 30 50 per page
1
2 3 4 5
38