logo Hurry, Grab up to 30% discount on the entire course
Order Now logo

Ask This Question To Be Solved By Our ExpertsGet A+ Grade Solution Guaranteed

expert
Garard BerwickkCriminology
(5/5)

584 Answers

Hire Me
expert
George RoperData mining
(5/5)

818 Answers

Hire Me
expert
Dawn WardManagement
(5/5)

708 Answers

Hire Me
expert
Earle BirdsellBusiness
(5/5)

801 Answers

Hire Me
C++ Programming

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

INSTRUCTIONS TO CANDIDATES
ANSWER ALL QUESTIONS

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”.

 Assignment:

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.

 

Related Questions

. The fundamental operations of create, read, update, and delete (CRUD) in either Python or Java

CS 340 Milestone One Guidelines and Rubric  Overview: For this assignment, you will implement the fundamental operations of create, read, update,

. Develop a program to emulate a purchase transaction at a retail store. This  program will have two classes, a LineItem class and a Transaction class

Retail Transaction Programming Project  Project Requirements:  Develop a program to emulate a purchase transaction at a retail store. This

. The following program contains five errors. Identify the errors and fix them

7COM1028   Secure Systems Programming   Referral Coursework: Secure

. Accepts the following from a user: Item Name Item Quantity Item Price Allows the user to create a file to store the sales receipt contents

Create a GUI program that:Accepts the following from a user:Item NameItem QuantityItem PriceAllows the user to create a file to store the sales receip

. The final project will encompass developing a web service using a software stack and implementing an industry-standard interface. Regardless of whether you choose to pursue application development goals as a pure developer or as a software engineer

CS 340 Final Project Guidelines and Rubric  Overview The final project will encompass developing a web service using a software stack and impleme