Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

CS 1336 Assignment #2 Due, Friday, February 21, 2020 at 11:59pm. Important: To complete this assignment you are ONLY allowed to use what is discussed

image text in transcribed

CS 1336 Assignment #2 Due, Friday, February 21, 2020 at 11:59pm. Important: To complete this assignment you are ONLY allowed to use what is discussed in Chapters 1 - 3 of the text and lectures. Exercise 1 (40 points): Write a program that calculates and displays the acreage of a rectangular lot given the width and depth of the lot entered by the user in feet and inches. If you calculate the area of the lot in square feet, you can use the following conversion factor to find the acreage of the lot. 1 square foot 2.2957 x 10-5 acres Sample output of a program that satisfies the requirements is shown below. The data entered by the user is shown in blue. Display the input width and depth along with the calculated acreage as much like the last line of the sample output shown as possible. Sample Output 1: This program calculates the acreage of a rectangular lot. Enter the width of the lot in feet and inches. Feet? 75 Inches? O Enter the depth of the lot in feet and inches. Feet? 120 Inches? 0 A lot with a width of 75' - 0" and a depth of 120 -0" is 0.206613 acres. Sample Output 2: This program calculates the acreage of a rectangular lot. Enter the width of the lot in feet and inches. Feet? 277 Inches? 8.25 Enter the depth of the lot in feet and inches. Feet? 250 Inches? 3.5 A lot with a width of 277' - 8.25" and a depth of 250' - 3.5" is 1.59558 acres. Page 1 of 3 CS 1336 Assignment #2 Due, Friday, February 21, 2020 at 11:59pm. Important: To complete this assignment you are ONLY allowed to use what is discussed in Chapters 1 - 3 of the text and lectures. Exercise 1 (40 points): Write a program that calculates and displays the acreage of a rectangular lot given the width and depth of the lot entered by the user in feet and inches. If you calculate the area of the lot in square feet, you can use the following conversion factor to find the acreage of the lot. 1 square foot 2.2957 x 10-5 acres Sample output of a program that satisfies the requirements is shown below. The data entered by the user is shown in blue. Display the input width and depth along with the calculated acreage as much like the last line of the sample output shown as possible. Sample Output 1: This program calculates the acreage of a rectangular lot. Enter the width of the lot in feet and inches. Feet? 75 Inches? O Enter the depth of the lot in feet and inches. Feet? 120 Inches? 0 A lot with a width of 75' - 0" and a depth of 120 -0" is 0.206613 acres. Sample Output 2: This program calculates the acreage of a rectangular lot. Enter the width of the lot in feet and inches. Feet? 277 Inches? 8.25 Enter the depth of the lot in feet and inches. Feet? 250 Inches? 3.5 A lot with a width of 277' - 8.25" and a depth of 250' - 3.5" is 1.59558 acres. Page 1 of 3

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Marketing The New Profit Frontier

Authors: Ed Burnett

1st Edition

0964535629, 978-0964535626

More Books

Students also viewed these Databases questions

Question

Which IDS type can alert you to trespassers? VMIDS HIDS PIDS NIDS

Answered: 1 week ago

Question

1. Identify three communication approaches to identity.

Answered: 1 week ago

Question

d. Who are important leaders and heroes of the group?

Answered: 1 week ago

Question

3. Describe phases of minority identity development.

Answered: 1 week ago