150 Topics

Member Avatar for
Member Avatar for pardhu463

Hi to all, I am new to this forum..If i did any thing wrong in this thread please correct me... Let me tell you something about my project .... I am working on ARM7-LPC2148 processor with Graphical LCD. Now i am making a calculator which should be like as our …

Member Avatar for N1GHTS
0
190
Member Avatar for Labdabeta

I have been googling around and have found that the TI calculator that I use uses a z80 chip. I was wondering if it is possible to use assembly rather than the default program language of the calculator to write programs for it. Any ideas of how I could find …

Member Avatar for sergent
0
110
Member Avatar for WolfShield

I would like to make a LUDICROUSLY high number calculator in Python. I am thinking 60 numbers and a decimal point. So numbers could be in a format like these: 60 numbers, 30 numbers decimal point 30 numbers (30nums.30nums), or decimal point 60 numbers (.60nums). E.g. 999,999,999,999,999,999,999,999,999,999.999999999999999999999999999999 But, I am …

Member Avatar for WolfShield
0
313
Member Avatar for s11049151

hey, I have to write a program that asks the user for an input amount (in cents) and the highest denominations of change (1c,5c,10c,20c & 50c). With these 2 inputs, the program then finds the distinct ways in which the change for the given amount can be made using the …

Member Avatar for daviddoria
0
267
Member Avatar for Venku Tur'Mukan

Hey, everybody, I'm a newbie at Python (2.7.1), and new to DaniWeb as well. and the apparent simplicity of Python got me interested in programming (seriously, the only thing before this was HTML). Anyway... I was taking a test and thought that after I was finished I could make an …

Member Avatar for vegaseat
0
43K
Member Avatar for alex1050

What im trying is to input 'yes' to continue and reset all values or 'no' to exit the program but i have tried to figure it out but im having trouble please help.thanks [CODE]#include <stdio.h> #include <stdlib.h> #include <math.h> int main() { float num1,result; char sym; printf("Calculator Is ON\n"); do{ …

Member Avatar for alex1050
0
218
Member Avatar for sandra500

Hi Everyone, I am new to this forum and a total newbie, and it looks like the most interesting place to ask this question. I am trying to come up with an easy instant price quote calculator in javascript for a window blinds website i want to start. The price …

0
74
Member Avatar for VTrookie

Hello All, I am a freshman at Virginia Tech and am currently stuck on an assignment our professor has given to me. We need to create a simple calculation output determining the high noon point of the day determined by the input of the sunrise and sunset. I was looking …

Member Avatar for TheChozen
0
135
Member Avatar for anu07

This is my computer science project,we were told to make any software we wish to make,so I thought about making a calculator,below is the code,but it doesn't seem to be functioning well,could anyone help and tell me what went wrong(I am using borland cpp 4.5 compiler,this program uses getch() to …

Member Avatar for anu07
0
186
Member Avatar for Nickod777

Got a code failiure. I tried making a code that does this. Grade calculator. Assume max points are 300. make the user submit 3 numbers between 0-100 and have them added together and divided by 300 to get a decimal to the possible nearest Hundredth or whole number. 3 numbers …

Member Avatar for Ezzaral
0
195
Member Avatar for akase2010

i put the numbers into my calculator and i receive a number that is about $1 greater than the actual value. why? [CODE] #include<iostream> #ifndef Tips_H #define Tips_H using namespace std; class Tips { private: long double taxRate, bill, gratuity; public: Tips() { taxRate = 0; bill = 0; gratuity …

Member Avatar for caut_baia
0
220
Member Avatar for Rickay

[CODE]#include <iostream> #include <windows.h> #include <ctime> #include <cmath> #include <iomanip> #include <string.h> double numerator, denominator; static short multiplycounter; static short dividecounter; const double ten = 10; double* ppnumerator = &numerator; double* ppdenominator = &denominator; using namespace std; /**********************************************************************************/ double lcm(double numerator, double denominator) { if(*ppnumerator > *ppdenominator) { for(long counter …

Member Avatar for frogboy77
0
188
Member Avatar for WolfShield

I have a calculator program I am working on, it works except for one thing. When I type a large number into the calculator, say 125^4 it comes out with: 2.44140625E8. Any ideas on how to get this in-build function turned off? Thanks! -[b][i]WolfShield[/i][/b]

Member Avatar for bibiki
0
102
Member Avatar for neelle26

[CODE]Option Explicit Dim temp As Integer Private Sub Form_Load() Text1.Enabled = False Text1.MaxLength = 10 End Sub Private Sub Command1_Click() Text1.Text = Text1.Text + "1" End Sub Private Sub Command2_Click() Text1.Text = Text1.Text + "2" End Sub Private Sub Command3_Click() Text1.Text = Text1.Text + "3" End Sub Private Sub Command4_Click() …

Member Avatar for abelingaw
0
112
Member Avatar for bisiii

Hi, How to make at code that calculator will operate with 3 numbers (Example: 15 - 2 * 5) and that [U]multiplication and division[/U] have precedence over [U]addition and subtraction[/U] ? At that code it operates just with 2 numbers: [CODE] int num1; int num2; string operand; float answer; Console.Write("Please …

Member Avatar for ddanbe
1
2K
Member Avatar for hauda67

I am creating a desktop application that will also include a calculator, similar in function to the calculator of the Microsoft Windows OS. I require some assistance in implementing the memory capability such that the user can store a number, recall the number to be used in a calculation or …

Member Avatar for Ezzaral
0
199
Member Avatar for DCYPHER

Hello everybody I need help to complete my project. It's a calculator program. Most of the code is complete IT SHOULD FUNCTION JUST AS THE PROGRAM CALCULATOR FOUND ON WINDOWS VISTA I just have two problems 1)It should perform a continuous operation between numbers, without pressing the equal button. In …

Member Avatar for kleva
0
3K
Member Avatar for Rickay

[CODE]int main() { static short multiplycounter; static short dividecounter; double decimal; int rdecimal; cin >> decimal; rdecimal = int(decimal); cout << setprecision(10) << decimal << endl << rdecimal << endl; if(rdecimal % 1 != 0) { while(rdecimal % 1 != 0) { if(rdecimal % 1 == 0) { break; } …

Member Avatar for Rickay
0
623
Member Avatar for Felipevd

Hi everyone! For months now I've been reader of this forum and it's now time for me to register and start contributing. Well, my problem is basically with arrays and loops, in a calculator project.. What I'm trying to do is to write all operations in a line i.e: ( …

Member Avatar for Teme64
0
495
Member Avatar for ac.morgan

I am a fifteen year old trying to learn c++ to program a scientific calculator that is simpler to use. Would it be okay if I asked for advice on different problems I am having with the calculator and how to program certain things on it without providing a code? …

Member Avatar for Narue
0
116
Member Avatar for WolfShield

Hello everyone, I have just recently started learning Java (previous Python programmer) and I am making a text based calculator program. I have had no problems with programming it so far, and I just need help with one part of perfecting it. [code=java] package calculator; import java.util.Scanner; public class Main …

Member Avatar for WolfShield
0
265
Member Avatar for astala27

Writing a program that reads a string of arithmetic expression from the keyboard and evaluates the arithmetic operation in the string. Some example runs are given below. program should accept only * any real or integer numbers * four basic arithmetic operators, +, -, *, / * paranthesis ( , …

Member Avatar for arkoenig
0
2K
Member Avatar for NMAZ

[B][U]Hi, this is kind of silly request, can anyone help me with these three C++ progs[/U]:[/B] [B]I - Predefined number of operation Calculator[/B]: [U]e.g[/U]. 5 + 12 - 3 10 / 3 - 5 /12 The program should ask for the following 1- number of operations 2- the equation for …

Member Avatar for NMAZ
0
217
Member Avatar for DCYPHER

Hi, My code is pretty much complete. I just need help in 2 things 1) When the program runs the 0 appears, which is fine, but when I type/write a number the Zero would continue next to the number i type/write 2) When i make an operation, such as add/divide/multiplication …

Member Avatar for kvprajapati
0
190
Member Avatar for StanRogo

Now I have been doing pascal for three months. I am now trying to create a simple calculator program. However, the TEdit box is not working. I type in the value but it seems it is not recording since when converted to either a float or int it states that …

Member Avatar for StanRogo
0
195
Member Avatar for skorm909

i was working on a simple calculator and here's the problem I'm having: i want the whole program to loop over and over until the user decides to stop, so i put a while in there and the loop works great, but when the user is done inputting the numbers …

Member Avatar for Jason Giggs
0
164
Member Avatar for pramodsajwan07

/* Calculator program*/import import java.awt.*; import java.awt.event.*; import javax.swing.*; public class JCalculate extends JFrame implements ActionListener { JLabel lblnum1=new JLabel("Enter first number"); JTextField txtnum1=new JTextField(20); JLabel lblnum2=new JLabel("Enter second number"); JTextField txtnum2=new JTextField(20); JLabel lblresult=new JLabel("Result"); JTextField txtresult=new JTextField(20); JButton btnadd=new JButton("Add"); JButton btnsub=new JButton("Sub"); JButton btnmul=new JButton("Multiply"); JButton btndiv=new …

Member Avatar for apines
-1
215
Member Avatar for EMUPHY

I just started writing C++ and i only know the basics, if there is anyway to improve my simple caluculator or if you have any functions I could add to it let me know. Here is the code I wrote feel free to take bits. #include <cstdlib> #include <iostream> #define …

Member Avatar for Nandomo
0
212
Member Avatar for Matthew N.

Hello, I have a JavaScript calculator, here is the code:[CODE]<script type="text/javascript"> var num1=prompt('Enter your first number',""); var num2=prompt('Enter your second number',""); var problem=prompt('Enter the operator you wish to use..x,X,+,-,/ are valid..',""); if (problem=="+") { alert("The anwser to your equasion is "num1+num2); } else if (problem=="-") { alert("The answer to your …

Member Avatar for rbsntl
0
995
Member Avatar for sirlink99

I have started making a calculator. There are buttons and a screen where the numbers should how up. Except I dont know how to program the larger numbers so when someone types in a '5' then a '2' then a '7' the number becomes 527 instead of a 5 then …

Member Avatar for coil
0
191

The End.