Land Calculation Programming Project
A Week 2 Demonstration

Land Calculation Project - Page 1

Objectives: This project is out of the Gaddis Programming Logic and Design text from Chapter 2 end of chapter Programming Exercises. You might be in your second or third week of class when you experience a problem of this nature. I will cover this problem with the goal of touching key content in regard to program output, program input, variables and calculations. You might want to view this project in week 2 up to week 4 of class to introduce some of the beginning skills needed during program design and development. You could also use this project as a review of your skills. Starting the project with the Introduction will place you in the category of writing your first or second program. In addition to the design documents I hope to add suggestions for coding this project in C++ as well as JAVA.

You might want to check out recommended resouces that cover content we will be using in this project.

 

Content Pages

Startup Page

Code Page

 

Startup Page: Getting Started with an Easy Project

Video: A Quick Overview

Welcome to the Land Calculation Project

Project description:

The project description should give details enough to allow a program developer adequate information to come up with a solution. This may not always be clear which could cause one developer to build a solution that is different from another. The approach I would recommend for my projects would be to solve as completely as possible and to clarify when the opportunity occurs.

PDD Chapter 2 - Land Calculation

 

Adding Code 

Video showing the C++ Code

(Work-in-progress)

Although the video has not been recorded you can check the solution for C++ or JAVA. Just locate the (Answer 1) tab.

Video showing the JAVA Code

(Work-in-progress)

Although the video has not been recorded you can check the solution for JAVA. Just locate the (Answer 1) tab.

Sample Solution (C++ and JAVA)

View this page after giving the project your best effort.

Design Docs

 

This section will identify docs that show the development of our solution. When you are working through any project you will need to consider things like variable names, how to show results, logic for coming up with your result and then get down to writing code that will tell the computer exactly what to do.

 

Output Specs

Output Specs

Program Analysis WS

Top Half

Program Analysis WS

Bottom Half

Program Analysis WS

Flowchart

Flowchart Clip

Flowgorithm Flowchart

 

Pseudo Code

 // The Land Calculation Program

// PDD Chapter 2 Programming Exercise

// Check the Gaddis Book

Declare Real numSquareFeet

Declare Real acres

 

Display "Enter the square feet in a tract of land:"

Input numSquareFeet

Set acres = numSquareFeet / 43560

Display "The number of acres in the tract are:"

Display acres

 

Author's Flowchart

Flowchart

Author's Pseudo Code

Pseudocode

Code

 C++ Code

CPP Code

JAVA Code

Land Calculation - JAVA

Textbook Resources

Starting Out with Programming Logic and Design by Tony Gaddis

Starting Out with C++ From Control Structures through Objects

Starting Out with Java: Control Structures - by Tony Gaddis