Test 1 Output Enter the square feet of the area to convert to acres: XXXXXXXXXXsquare feet is equal to 0.50 acres. Test 2 Output Enter the square feet of the area to convert to acres: XXXXXXXXXXsquare...

Test 1 Output Enter the square feet of the area to convert to acres: 21870 21870 square feet is equal to 0.50 acres. Test 2 Output Enter the square feet of the area to convert to acres: 198000 198000 square feet is equal to 4.55 acres. Test 3 Output Enter the square feet of the area to convert to acres: 345000 345000 square feet is equal to 7.92 acres. Test 4 Output Enter the square feet of the area to convert to acres: 50000 50000 square feet is equal to 1.15 acres. 301720.1782130 Background One acre of land is equivalent to 43,560 square feet. Directions Write a program that prompts the user to enter the total square footage in a tract of land, calculates, and prints the result of the conversion from square feet to acres. The conversion factor 43,560 should be declared as a named constant. Format the output to limit the number of digits after the decimal point to two digits. See tests output below for example operation. Test 1 Output Enter the square feet of the area to convert to acres: 21870 21870 square feet is equal to 9.50 acres. Test 2 Output Enter the square feet of the area to convert to acres: 198908 198000 square feet is equal to 4.55 acres.
Nov 19, 2021
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here