#include
#include
#include
const int maxf =50;
const int maxo =30;
const int maxp =30;
const int maxor =30;
//////////////////////////////////////////////////////////////////////////////////////////////
class plant{
public: plant();
void ReadPlant();
void displayPLANT(int);
void plfamily(char f[]);
void plNAME (char n[]);
void modifyPlant();
void deleteplant();
int plID(int);
int checkQ(int);
int findplant(int);
//void SwapPosPlant(int,int);
void ShiftPos(int,int);
void SortFamily();
void SortName();
int findfamily();
int rangefamily();
void removestock(int,int);
void displayallplants ();
float returnprize(int);
private:
char name[20];
char family[20];
char description [100];
int id;
int type;
char colour[20];
int size;
int stock;
int sold;
int garden;
float price;
int NOelem;
// order findplant[maxo];
};......
Join Now or Login to view the rest of this paper.
Approximate Word Count: 899
Approximate Pages: 4 (260 words per double-spaced page) |