SuperTutor

(15)

$15/per page/Negotiable

About SuperTutor

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

Expertise:
Accounting,Business & Finance See all
Accounting,Business & Finance,Economics,Engineering,HR Management,Math Hide all
Teaching Since: Apr 2017
Last Sign in: 327 Weeks Ago, 5 Days Ago
Questions Answered: 12843
Tutorials Posted: 12834

Education

  • MBA, Ph.D in Management
    Harvard university
    Feb-1997 - Aug-2003

Experience

  • Professor
    Strayer University
    Jan-2007 - Present

Category > Programming Posted 18 May 2017 My Price 11.00

class Car{public:Car

This is Computer Science II problem. There are two part for this problem. I actually need the part A first and you can do the part B later. But please submit the part B after 4-5 days the part A was submitted.

 

class Car{public:Car();Car(char *, char *, int, float, bool);Car(const Car&);~Car();void copy(Car);void print() const;char * getMake() const;char * getModel() const;int getYear() const;float getPrice() const;bool getAvailable() const;void setMake(char *);void setModel(char *);void setYear(int);void setPrice(float);void setAvailable(bool);private:char * make;char * model;int year;float price;bool available;};class Agency{public:Agency();Agency(const Agency&);~Agency();void readInData(char *);void print() const;void printAvailableCars() const;void findMostExpensive() const;float estimateCost(int, int) const;void sortByMake();// alphabeticalvoid sortByPrice();// highest to lowestvoid searchByMake(char *) const;private:char * name;int * zipcode;Car * inventory;};

 

Attachments:

Answers

(15)
Status NEW Posted 18 May 2017 03:05 AM My Price 11.00

-----------

Not Rated(0)