Click here to Skip to main content
11,642,855 members (70,698 online)
Rate this: bad
Please Sign up or sign in to vote.
Hi guys
I solved this
Thank you.................................................
Posted 9-Jan-13 17:04pm
Edited 9-Jan-13 18:27pm
prashant patil 4987 at 9-Jan-13 23:12pm
try to do your assignment yourself...if any problem occured in between then ask queries..
prashant patil 4987 at 9-Jan-13 23:12pm
if this is your assignment then you can do it yourself only.. try to do your work with yourself. and if any problem occured during the ask queries.
CrugerBrent at 9-Jan-13 23:15pm
@prashant: As you see I have done my assignment. But need debugging. I'm still a beginner. I only need to find out what are the errors
prashant patil 4987 at 9-Jan-13 23:27pm
what is your error..?/
CrugerBrent at 9-Jan-13 23:29pm
any of buttons won't work when I press them.
Sergey Alexandrovich Kryukov at 9-Jan-13 23:37pm
A calculator with buttons! Can anyone ever explain me why would anyone use such thing ever. JavaScript itself is much better calculator, or a more graphical calculator can be written in JavaScript. Buttons with 0, 1, 2, ... 9, +, -, etc.? Are we in stone age?

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

Again and again, please see:[^].

Pure JavaScript, only one file; see source code via View / Page Source. Million times simpler, just few lines of code, and millions time more functional: all kinds of expressions, anything JavaScript can do.

Who needs this…? well, see my comment to the question…

CrugerBrent at 9-Jan-13 23:50pm
@Sergey: I appreciate your work. But this is not an answer for my question
Sergey Alexandrovich Kryukov at 9-Jan-13 23:57pm
Why do you need an answer to your question, especially when you did not answered my? Why not looking it from a right side? This is the advice... Well, sorry if you don't like it. Can you see that the idea of the calculator with buttons is just wrong? Before the PC era, they were produced because people could not do better. Why reproducing them in software?
CrugerBrent at 10-Jan-13 0:03am
@Sergey: I accept what you are saying. But this is an assignment. If my tutor think like the way you think, your idea will be a marvelous one. I have an error and I just need to fix it.......
Sergey Alexandrovich Kryukov at 10-Jan-13 1:57am
Well, talk to this person, your initiative might be welcome.

Want to tell you one thing: I don't even remember when I did exactly what I was told to do. Once I even came to our professor to arrange a date for the main doctoral exam, quite a formal one. Even though the exam wasn't designed this way, I claimed that they don't have to worry about main questions: I am going to prepare the short talk on the topic of my own choice and promise that it won't be boring. I don't know that anyone else put forward such a daring suggestion. Believe or not, it was quite welcome!

Reasonable people rather expect active approach and initiative.

And, anyway, consider accepting this formally (green button) — thanks. It won't compromise your chance to get other answers and accept them or not.


This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 DamithSL 328
1 OriginalGriff 280
2 Sergey Alexandrovich Kryukov 270
3 Afzaal Ahmad Zeeshan 195
4 190
0 DamithSL 541
1 OriginalGriff 495
2 Mika Wendelius 469
3 Sergey Alexandrovich Kryukov 330
4 Afzaal Ahmad Zeeshan 324

Advertise | Privacy | Mobile
Web03 | 2.8.150731.1 | Last Updated 10 Jan 2013
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100