Need a basic PHP/javascript calculator built

Closed - This job posting has been filled and work has been completed.
Web, Mobile & Software Dev Web Development Posted 2 years ago

Fixed Price

Delivery by December 29, 2012

$30.00

Budget

Details

I am looking for someone to build a basic calculator which works out how much you would save if you used a certain type of guitar strings.

The calculator must ask the user two things:

QUESTION 1) How much do you spend on a pack of strings (in £GBP or $US based on IP location)
QUESTION 2) How often do you re-string your guitar (in weeks)

The calculator must show the price in their local currency (£ or $).

The first task for the calculator is to work out how much they would spend on strings per year. To do this we must use the following equation.

(52/ANSWER TO QUESTION 2)  x ANSWER TO QUESTION 1 = how much they spend on guitar strings over a year. Let’s call this answer A

We then need to work out how much they’d save if they used BRANDX strings, which cost £2.50 in the UK or $4 in the US per pack.

So we’d need to work out:
(52/ ANSWER TO QUESTION 2) x £2.50 or $4 depending on location. Let’s call this answer B


After hitting a submit button, the calculator then needs to show:

"You currently spend £A on strings per year. With an endorsement deal from BRAND, you would only spend £B per year. That’s a saving of £(A-B)!

Click here to get endorsed."

I've attached a basic screenshot showing how the calculator should look / operate.

---
Skills: guitar


About the Client

(4.91) 36 reviews

United Kingdom
Oxford 02:22 PM

76 Jobs Posted
58% Hire Rate, 1 Open Job

$2,239 Total Spent
46 Hires, 3 Active

$4.43/hr Avg Hourly Rate Paid
44 Hours

Member Since Feb 1, 2012