Programming Assignment for Chapter 4
Chapter 4 Assignment (25 points)
View the instructions for this assignment below:
Create a folder named “YourLastname_YourFirstname_Chapter4Assignment”, where “YourLastname” is your actual last name and “YourFirstname” is your actual first name. When assignment is completed, compress (zip – DO NOT USE rar [Roshal Archive]) the folder containing your file(s), then upload the compressed “YourLastname_YourFirstname_Chapter4Assignment” folder in the dropbox for grading.
In MSWindows, to compress/zip a folder, right click folder and below the middle of the dropdown menu, select “Send to” and in the dropdown submenu, select “Compressed (zipped) folder”.
The area of a rectangle is the rectangle's length times its width. Write a program that asks for the length and width of two rectangles. The program should tell the user which rectangle has the greater area or if the areas are the same.
The program should be run three (3) times with three (3) sets of data.
Files to be submitted:
source.cpp which is the program source code
image1.jpg which is a screen image of run 1
image2.jpg which is a screen image of run 2
image3.jpg which is a screen image of run 3
For example a run might look like this:
Rectangle 1: length:20 width:10 area:200
Rectangle 2: length:5 width:30 area:150
Area of Rectangle 1 is greater than Area of Rectangle 2.
DescriptionIn this final assignment, the students will demonstrate their ability to apply two ma
Path finding involves finding a path from A to B. Typically we want the path to have certain properties,such as being the shortest or to avoid going t
Develop a program to emulate a purchase transaction at a retail store. Thisprogram will have two classes, a LineItem class and a Transaction class. Th
1 Project 1 Introduction - the SeaPort Project series For this set of projects for the course, we wish to simulate some of the aspects of a number of
1 Project 2 Introduction - the SeaPort Project series For this set of projects for the course, we wish to simulate some of the aspects of a number of
Get Free Quote!
418 Experts Online