82 491
Assignments Done
100%
Successfully Done
In January 2020

# Answer to Question #54336 in Java | JSP | JSF for Toral

Question #54336
One acre of land is equivalent to 43,560 square feet. Write a program called land_calculation.js that calculates the number of acres in the a tract of land based on the total square feet in a tract of land. Use a literal value of 348,480 for the total square feet.
1
2015-09-01T01:30:07-0400
<!DOCTYPE HTML>
<html>
<meta charset="utf-8">
<script src="test.js"></script>
<body>

<script>
squarefeets = prompt("Please input a total square feet in a tract of land");
document.writeln("The number of acres in the a tract of land based on the total square feet in a tract of land " + Math.ceil(squarefeets/43560) + " acres")
alert("The number of acres in the a tract of land based on the total square feet in a tract of land " + Math.ceil(squarefeets/43560) + " acres")
</script>

</body>
</html>

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!