Maurice Tutor

(5)

$15/per page/Negotiable

About Maurice Tutor

Levels Tought:
Elementary,Middle School,High School,College,University,PHD

Expertise:
Algebra,Applied Sciences See all
Algebra,Applied Sciences,Biology,Calculus,Chemistry,Economics,English,Essay writing,Geography,Geology,Health & Medical,Physics,Science Hide all
Teaching Since: May 2017
Last Sign in: 398 Weeks Ago, 1 Day Ago
Questions Answered: 66690
Tutorials Posted: 66688

Education

  • MCS,PHD
    Argosy University/ Phoniex University/
    Nov-2005 - Oct-2011

Experience

  • Professor
    Phoniex University
    Oct-2001 - Nov-2016

Category > Computer Science Posted 27 Aug 2017 My Price 11.00

vector of rectangles

Each problem should be broken up into three (3) files: A .h file for your class, a .cpp file for your class, and a .cpp file for your main method.

Chapter 17. Problems

17.11 - In your main method, create a vector of rectangles. Ask the user for the length and width. Keep entering rectangles till the user enters -999 for the length. Once the user is done entering rectangles, print out the length, width, and perimeter, and area of each rectangle. In addition, find the max area of the rectangles entered, and the number of rectangles that have that area.

In your set method, throw exceptions (and catch in your main) if the length and width are less than 0.0 or larger than 20.

17.12. -

In your main method, create a vector of rectangles. Ask the user for 4 sets of x,y coordinates. (once for each corner). Keep entering rectangles till the user enters -999, -999 for 1st set of coordinates. Once the user is done entering rectangles, print out the length, width, and perimeter, and area of the rectangle. In addition, print out if the rectangle is a square or not and how many squares are in the vector.

In your set method, throw exceptions (and catch in your main) if the length and width are less than 0.0 or larger than 20.

17.14 - Provide the following member functions ONLY: input, output, isEqualTo, isNotEqualTo, and isZero.

Create 3 HugeInteger Objects in your main, and test out the input, output isEqualTo, isNotEqualTo methods

Answers

(5)
Status NEW Posted 27 Aug 2017 09:08 AM My Price 11.00

Hel-----------lo -----------Sir-----------/Ma-----------dam-----------Tha-----------nk -----------You----------- fo-----------r u-----------sin-----------g o-----------ur -----------web-----------sit-----------e a-----------nd -----------and----------- ac-----------qui-----------sit-----------ion----------- of----------- my----------- po-----------ste-----------d s-----------olu-----------tio-----------n.P-----------lea-----------se -----------pin-----------g m-----------e o-----------n c-----------hat----------- I -----------am -----------onl-----------ine----------- or----------- in-----------box----------- me----------- a -----------mes-----------sag-----------e I----------- wi-----------ll

Not Rated(0)