63 155
Assignments Done
99,3%
Successfully Done
In July 2018

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.
Expert's answer
<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<script src="test.js"></script>
</head>
<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!

Comments

No comments. Be first!

Leave a comment

Ask Your question

Submit
Privacy policy Terms and Conditions