need a code of calculator in Javascript

80 pts.
Tags:
JavaScript
Hey guys, I need to make a calculator I have buttons for 0-9 digits = button and have +, -, *, /, modules and square root operators and CE, M+, M- and backspace. I have made the interface. Now all I want is make the javascript code. It will be simple, I need a function for each and every operator. and also a switch case. can you guys plz help me??? thank you all..........

Software/Hardware used:
adobe dreamweaver

Answer Wiki

Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Discuss This Question: 8  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • TomLiotta
    I'm not sure that I understand the question. Are you wanting us to provide code for functions behind each of the 21 buttons? (Mostly only 12, since the digits will be clones.) -- Tom
    125,585 pointsBadges:
    report
  • Sarawita
    yes @Tom
    80 pointsBadges:
    report
  • carlosdl
    What's your budget ? ;-)
    69,835 pointsBadges:
    report
  • Sarawita
    @carlosdl raata warenko tho. mama thota budget eka kiyannam
    80 pointsBadges:
    report
  • philpl1jb
    This appears to be a learning project and/or homework.  You won't learn if we do.  We will help but the scope of your request is way beyond help.
    50,205 pointsBadges:
    report
  • Sarawita
    the matter is I don't like javascript. But teacher force us to do it and he gave a homework which will add 20 marks to our term test. I can;t figure out how to do it. If you guys even tell me how can i approach to this and continue.
    80 pointsBadges:
    report
  • ToddN2000
    You could as a fellow student for some guidance or the teacher to explain some of the things you are not clear on. In my opinion it's better to try yourself and fail then take credit for the work someone else did..
    11,820 pointsBadges:
    report
  • ToddN2000
    You could ask a fellow student for some guidance or the teacher to explain some of the things you are not clear on. In my opinion it's better to try yourself and fail then take credit for the work someone else did..
    11,820 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following