Log in

View Full Version : How to make a simple calculator ?



chat2learnz
08-25-2013, 11:53 AM
If you could help me, I am trying to make a calculator (preferably in HTML code or Java whichever is simpler and easier to follow).

Sample values: -

1. Number of hours I work per day (pull down menu option in the field box: 4/5/6/7...in hours).
2. Amount of money I make per hour ($8/$12/$15/$7....per hour)
3. Number of days I work per week (1/2/3/4/5....in Days)

Result Displayed - My Total Weekly Income Amount/My Total Monthly Income Amount/My Total Yearly Income Amount.

Thanks! I would really appreciate that.

James.

Deadweight
09-12-2013, 07:54 PM
lol nice homework. I can do it but you should take the time to learn this on your own instead of posting one time and leaving.

lifedreamer
09-25-2013, 12:03 PM
Hi . I think you need to look at this tutorial , it will help you - developerdrive.com/2012/06/creating-a-web-page-calculator-using-the-html5-output-element

jscheuer1
09-27-2013, 02:52 AM
This thread has become a spam magnet. That and the fact that there are plenty of tutorials for this sort of thing on the web - if you're really looking to learn how to do this, use Google to find them - I'm closing this thread.

If you set up a calculator and are having trouble with its code, please start a new thread to ask about it.

This forum is generally not for getting code written from scratch. If you have something that you're working on however, if we can help you with it, we usually will.