answersLogoWhite

0


Best Answer

The easiest way to implement a calculator is an RPN calculator (enter the numbers first, perform the operation last). You need a last-in-first-out stack (there's a "stack" class in C++, but you can also implement your own using an array or a linked list), and a set of functions that pop the last elements from the stack and push the result (e.g. Add() pops the last 2 values and pushes their addition).
You'll need the math.h library for scientific operations.

User Avatar

Wiki User

14y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How should you design a scientific calculator using C plus plus?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

How to use nCr on a scientific calculator?

If you're using the Casio Scientific Calculator, then you should:-1. Enter the # (n)2. Press Shift3. Press the divide buttong (just above the - button)4. A C will appear5. Enter the # (r)


How do you write a c program to design calculator using loop?

Wr


How do you calculate log 1.616?

It is: 10 0.2084413564 = 1.616 by using a scientific calculator


How do you find square root of 50000?

Using a scientific calculator gives an answer of 223.60679774


What is 10010111 to decimal?

Most scientific calculators can do this sort of conversion - including the scientific calculator included in Windows (set the mode to "Scientific" or to "Programmer", depending on the version). If you need help using your calculator, or if you want to learn how to do the calculation without a calculator, ask a separate question about that.


What expression is equivalent to log10 90?

Assuming the question is about log 90 to base 10, that is log1090, the answer is easily found using the scientific calculator which comes with your operating system.Assuming the question is about log 90 to base 10, that is log1090, the answer is easily found using the scientific calculator which comes with your operating system.Assuming the question is about log 90 to base 10, that is log1090, the answer is easily found using the scientific calculator which comes with your operating system.Assuming the question is about log 90 to base 10, that is log1090, the answer is easily found using the scientific calculator which comes with your operating system.


How do you find the factors of a number using a scientific calculator?

well go on totor circle they will help you


How do you find cube root of 103823?

It is 47 by using a scientific calculator or through trial and improvement


How do you find logarithms using a calculator?

If you are using a scientific calculator you will have a key labelled "log". To find the logarithm (to base 10) of a number, simply enter "log" followed by the number that you want to log. If you want a natural logarithm - log to the base e - use the "ln" key instead. If you haven't got a scientific calculator, use the one on your computer.


Should they stop using animals on scientific work?

I believe that people should stop using animals for scientific use


What is the last digit of 3 to the power of 25?

325 = 847288609443. The last digit is therefore "3".On your calculator (if you have a scientific calculator; and if you don't but you are using Microsoft Windows you can get a scientific calculator up by going to Start and typing in "calc" in the run/search box) you will have a button that looks like this:xy (i.e. x to the power of y)If you type in "3" then press this button and then put in "25" and press equals you should get the above number!


What HP calculators are allowed on the ACT or SAT?

It depends on the type of HP calculator you are using. You may only use a four-function, scientific, and graph calculator that does not come with other functions.