Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using namespace std;
- class Billet
- {
- private:
- string villeArrivee, villeDepart;
- double distance, prixAuKm;
- public:
- Billet(string villeD="", string villeA="", double d=0, double p=0);
- string getVilleDepart();
- string getVilleArrivee();
- double getDistance();
- double getPrixAuKm();
- virtual double getPrixTotal();
- void setVilleDepart(string a);
- void setVilleArrivee(string b);
- void setDistance(double c);
- void setPrixAuKm(double d);
- virtual void saisir();
- void affichage();
- bool compItineraire(Billet b);
- int compPrixBillet(Billet b);
- void affichage(ostream &out);
- };
- double saisieD();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement