Wednesday, 17 October 2012

Outcome - Task 2

Here is the the second task! This task wasn't as hard as the first one as it was as simple as prompting the user and multiplying those number.


// OUTCOME 2

var price = prompt("What is the price per meters sqaured?")
var height = prompt("What is the height in meters?")
var length = prompt ("What is the length in meters?")
alert (height*length*price)

No comments:

Post a Comment