-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathClientCommercial.cpp
31 lines (29 loc) · 969 Bytes
/
ClientCommercial.cpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
//--------------------------------------------------------
//
// ClientCommercial.h
//
// Définition de la classe ClientCommercial qui permet de
// créer un ClientCommercial
// par Jonathan Boucard & Pierre-Anthony Houle, 2016
//--------------------------------------------------------
#include "ClientCommercial.h"
ClientCommercial::ClientCommercial(int NumClient, string type, string CodePostale, string Courriel, string Nom, string Prenom, float Rabais) : Client(NumClient, CodePostale, type)
{
courriel = Courriel;
nomClient = Nom;
prenomClient = Prenom;
pourcentageRabais = Rabais;
}
void ClientCommercial::Afficher(ostream & flux)
{
flux << "-----------------" << endl;
flux << "Client Commercial" << endl;
flux << "-----------------" << endl;
flux << numClient << endl;
flux << clienType << endl;
flux << codePostal << endl;
flux << courriel << endl;
flux << nomClient << endl;
flux << prenomClient << endl;
flux << pourcentageRabais << endl;
}