Вы находитесь на странице: 1из 14

#ifndef CUSTOMER_H #define CUSTOMER_H #include<iostream> #include<string> using namespace std; class Customer pri!

ate" int CodeCustomer; string #ameCustomer; dou$le Sum%riceCustomer; int &mount'oodCustomer; string (ate; dou$le &ccumulated; pu$lic" Customer)*; ++ set ++ !oid setCodeCustomer)int Code_Customer*; !oid set#ameCustomer)string #ame_Customer*; !oid setSum%riceCustomer)dou$le Sum%rice_Customer*; !oid set&mount'oodCustomer)int &mount'ood_Customer*; !oid set(ate)string _(ate*; !oid set&ccumulated)dou$le _&ccumulated*; ++ get ++ int getCodeCustomer)*; string get#ameCustomer)*; dou$le getSum%riceCustomer)*; int get&mount'oodCustomer)*; string get(ate)*; dou$le get&ccumulated)*; ,; #endif #include<iostream> #include<string> #include-Customer./using namespace std; +++ set +++

Customer""Customer)* Sum%riceCustomer 0 1; &ccumulated 0 1;

!oid Customer""setCodeCustomer)int Code_Customer* CodeCustomer0Code_Customer; , !oid Customer""set#ameCustomer)string #ame_Customer* , #ameCustomer0#ame_Customer;

!oid Customer""setSum%riceCustomer)dou$le Sum%rice_Customer* Sum%riceCustomer 0 Sum%rice_Customer; , !oid Customer""set&mount'oodCustomer)int &mount'ood_Customer* &mount'oodCustomer 0 &mount'ood_Customer;

, !oid Customer""set(ate)string _(ate* , (ate0_(ate;

!oid Customer""set&ccumulated)dou$le _&ccumulated* &ccumulated 0 _&ccumulated; , +++ get +++ int Customer""getCodeCustomer)* return)CodeCustomer*; , string Customer""get#ameCustomer)* , return)#ameCustomer*;

dou$le Customer""getSum%riceCustomer)* return)Sum%riceCustomer*; , int Customer""get&mount'oodCustomer)* , return)&mount'oodCustomer*;

string Customer""get(ate)* return)(ate*; , dou$le Customer""get&ccumulated)* , return)&ccumulated*;

#ifndef (&T&_H #define (&T&_H #include<iostream> #include<string> #include -Customer./#include -'ood./using namespace std; ++ 'unction 'ood ++ !oid &dd'ood)*; !oid Edit'ood)*; !oid (elete'ood)*; !oid (ispla2'ood)*; !oid Read'oodto&rra2)'ood '34*; int C/ec5'ood)'ood '346 int Ma7 6'ood '_in*; ++ 'unction Customer ++ !oid &ddCustomer)*; !oid EditCustomer)*; !oid (eleteCustomer)*; !oid ReadCustomerto&rra2)Customer Ctm34*; !oid (ispla2Customer)*; int C/ec5Customer)Customer Ctm346 int Ma76 Customer Ctm_in*; ++ Ot/er 'unction ++ int CountRecord)string 'ile_#ame*; !oid 8ait9e2)string message*; !oid Read(ataSaleto&rra2)Customer :Ctm6 'ood :'*; !oid Read%riceeac/to&rra2)Customer :Ctm*; int C/ec5%riceeac/)Customer Ctm346int Ma76 int Code*; !oid SaleofCustomer)*; !oid ;u2'ood)*; #endif #include<fstream> #include<string> #include<iostream> #include<iomanip> #include<ctime> #include-Customer./#include-'ood./#include-(ata./#include <8indo<s./> const string 'ood'ile 0 -'ood'ile.t7t-; const string Customer'ile 0 -Customer'ile.t7t-; const string Sale'ile 0 -Sale'ile.t7t-; const string %riceeac/Customer 0 -%riceeac/Customer.t7t-; ++ const string Sale&mountof'ood 0 -Sale&mountof'ood.t7t-;++ const string SumSaleCustomer 0 -SumSaleCustomer.t7t-;++ using namespace std; ++ 'unction 'ood ++ !oid &dd'ood)* string input; 'ood :'; 'ood '_in; int Ma7 0 CountRecord)'ood'ile.c_str)**; if )Ma7 00 1* Ma7 0 =; ' 0 ne< 'ood3Ma74; Read'oodto&rra2)'*; cout<<-Enter code food for add " -; cin >> input; '_in.setCode'ood)atoi)input.c_str)***;

cout<<-Enter name food for add " -; cin >> input; '_in.set#ame'ood)input*; cout<<-Enter price food for add " -; cin >> input; '_in.set%rice'ood)atoi)input.c_str)***; int found 0 1; if)Ma7 > 1* found 0 C/ec5'ood)'6Ma76'_in*; , ofstream out'ile)'ood'ile.c_str)*6ios_$ase""out>ios_$ase""app*; if)?found* out'ile << '_in.getCode'ood)* << - -; out'ile << '_in.get#ame'ood)* << - -; out'ile << '_in.get%rice'ood)* << endl; 8ait9e2)-&dd food finis/6 %ress an2 5e2 to continue-*; , else 8ait9e2)-Code food repead6 %ress an2 5e2 to continue-*; out'ile.close)*;

!oid Edit'ood)* string input; 'ood :'6'_in; int Ma7 0 CountRecord)'ood'ile*; if )Ma7 00 1* Ma7 0 =; ' 0 ne< 'ood 3Ma74; Read'oodto&rra2)'*; cout << endl << -Enter food code for edit " -; cin >> input; '_in.setCode'ood)atoi)input.c_str)***; cout << -Enter name food for edit " - ; cin >> input; '_in.set#ame'ood)input*; cout << -Enter price food for edit " - ; cin >> input; '_in.set%rice'ood)atoi)input.c_str)***; int found 0 1; if)Ma7 > 1* found 0 C/ec5'ood)'6Ma76'_in*; , if)found* cout << endl << -Old code food 0 - << '3found@=4.getCode'ood)* << endl; cout << -Old name food 0 - << '3found@=4.get#ame'ood)* << endl; cout << -Old price food 0 - << '3found@=4.get%rice'ood)* << endl; cout << -&re 2ou sure to edit it ) A+# * " - ; cin >> input; if))input 00 -A-*>>)input 00 -2-** '3found@=4.setCode'ood)'_in.getCode'ood)**; '3found@=4.set#ame'ood)'_in.get#ame'ood)**; '3found@=4.set%rice'ood)'_in.get%rice'ood)**; ofstream out'ile)'ood'ile.c_str)*6ios_$ase""out*; for)int i 01; i < Ma7; iBB* out'ile << '3i4.getCode'ood)* << - -; out'ile << '3i4.get#ame'ood)* << - -; out'ile << '3i4.get%rice'ood)* << endl; ,

out'ile.close)*; 8ait9e2)-Edit finis/6 %ress an2 5e2 to continue-*; , else if ))input 00 -#-*>>)input 00 -n-** 8ait9e2)-%ress an2 5e2 to continue.-*; else 8ait9e2)-'ailed6 %ress an2 5e2 to continue.-*; , else 8ait9e2)-'ood code not found6 %ress an2 5e2 to continue-*;

, !oid (elete'ood)* string input; 'ood :'6'_in; ifstream in'ile; int Ma7 0 CountRecord)'ood'ile.c_str)**; if)Ma7 00 1* Ma7 0 =; ' 0 ne< 'ood3Ma74; Read'oodto&rra2)'*; cout << endl << -Enter code food for delete " -; cin >> input; '_in.setCode'ood)atoi)input.c_str)***; int found 0 1; if)Ma7 > 1* found 0 C/ec5'ood)'6Ma76'_in*; , if)found* cout << -#ame food 0 - << '3found@=4.get#ame'ood)* << endl; cout << -%rice food 0 - << '3found@=4.get%rice'ood)* << endl; cout << endl << -&re 2ou sure to delete it ) A+# * " -; cin >> input; if))input 00 -A-*>>)input 00 -2-** ofstream out'ile)'ood'ile.c_str)*6ios_$ase""out*; for)int i01; i < Ma7; iBB* if)i ?0)found@=** out'ile << '3i4.getCode'ood)* << - -; out'ile << '3i4.get#ame'ood)* << - -; out'ile << '3i4.get%rice'ood)* << endl; ,

, , else if ))input 00 -#-*>>)input 00 -n-** 8ait9e2)-%ress an2 5e2 to continue.-*; , , else 8ait9e2)-'ail ??6 %ress an2 5e2 to continue.-*;

!oid (ispla2'ood)* 'ood :'; int Ma7 0 CountRecord)'ood'ile*; ' 0 ne< 'ood 3Ma74; Read'oodto&rra2)'*; int n01; cout << (ispla2 'ood - << endl << endl; cout << -000000000000000000000000000000000000- <<endl; cout << -Code #ame %rice- <<endl; cout << -000000000000000000000000000000000000- <<endl; for)int i01; i < Ma7; iBB* cout << set<)C* << left << '3i4.getCode'ood)* <<-;

cout << set<)C* << left << '3i4.get#ame'ood)* <<cout << set<)C* << left << '3i4.get%rice'ood)* << , cout << -000000000000000000000000000000000000- <<endl; 8ait9e2)-%ress an2 5e2 to continue.-*;

-; endl;

!oid Read'oodto&rra2)'ood '34* string input; ifstream in'ile)'ood'ile.c_str)**; if)in'ile.is_open)** for)int n01;n < CountRecord)'ood'ile.c_str)**;nBB* in'ile >> input; '3n4.setCode'ood)atoi)input.c_str)***; in'ile >> input; '3n4.set#ame'ood)input*; in'ile >> input; '3n4.set%rice'ood)atoi)input.c_str)***;

, ,

in'ile.close)*; ,

int C/ec5'ood)'ood '346 int Ma7 6'ood '_in* for)int a 0 1; a < Ma7; aBB* if)'3a4.getCode'ood)* 00 '_in.getCode'ood)** return)aB=*; , return)1*; ,

++ 'unction Customer ++ !oid &ddCustomer)* string input; Customer :Ctm; Customer Ctm_in; int Ma7 0 CountRecord)Customer'ile.c_str)**; if )Ma7 00 1* Ma7 0 =; Ctm 0 ne< Customer3Ma74; ReadCustomerto&rra2)Ctm*; cout<<-Enter code customer for add " -; cin >> input; Ctm_in.setCodeCustomer)atoi)input.c_str)***; cout<<-Enter name customer for add" -; cin >> input; Ctm_in.set#ameCustomer)input*; int found 0 1; if)Ma7 > 1* found 0 C/ec5Customer)Ctm6Ma76Ctm_in*; , if)?found* ofstream out'ile)Customer'ile.c_str)*6ios_$ase""out>ios_$ase""app*;

out'ile << Ctm_in.getCodeCustomer)* << - -; out'ile << Ctm_in.get#ameCustomer)* << endl; out'ile.close)*; 8ait9e2)-&dd customer finis/6 %ress an2 5e2 to continue-*; , else 8ait9e2)-Code customer repead6 %ress an2 5e2 to continue-*; , !oid EditCustomer)* string input; Customer :Ctm6Ctm_in; int Ma7 0 CountRecord)Customer'ile*; if )Ma7 00 1* Ma7 0 =; Ctm 0 ne< Customer 3Ma74; ReadCustomerto&rra2)Ctm*; cout << endl << -Enter customer code for edit " -; cin >> input; Ctm_in.setCodeCustomer)atoi)input.c_str)***; cout << -Enter name customer for edit " - ; cin >> input; Ctm_in.set#ameCustomer)input*; int found 0 1; if)Ma7 > 1* found 0 C/ec5Customer)Ctm6Ma76Ctm_in*; , if)found* cout << endl << -Old code customer 0 - << Ctm3found@=4.getCodeCustomer)* << endl; cout << -Old name customer 0 - << Ctm3found@=4.get#ameCustomer)* << endl; cout << -&re 2ou sure to edit it ) A+# * " - ; cin >> input; if))input 00 -A-*>>)input 00 -2-** Ctm3found@=4.setCodeCustomer)Ctm_in.getCodeCustomer)**; Ctm3found@=4.set#ameCustomer)Ctm_in.get#ameCustomer)**; ofstream out'ile)Customer'ile.c_str)*6ios_$ase""out*; for)int i 01; i < Ma7; iBB* out'ile << Ctm3i4.getCodeCustomer)* << - -; out'ile << Ctm3i4.get#ameCustomer)* << endl; , out'ile.close)*; 8ait9e2)-Edit finis/6 %ress an2 5e2 to continue-*;

continue.-*;

, else if ))input 00 -#-*>>)input 00 -n-** 8ait9e2)-%ress an2 5e2 to

else 8ait9e2)-'ailed6 %ress an2 5e2 to continue.-*; , else 8ait9e2)-Customer code not found6 %ress an2 5e2 to continue-*;

!oid (eleteCustomer)* string input; Customer :Ctm6Ctm_in; ifstream in'ile; int Ma7 0 CountRecord)Customer'ile.c_str)**; if)Ma7 00 1* Ma7 0 =; Ctm 0 ne< Customer3Ma74; ReadCustomerto&rra2)Ctm*;

cout << endl << -Enter code customer for delete " -; cin >> input; Ctm_in.setCodeCustomer)atoi)input.c_str)***; int found 0 1; if)Ma7 > 1* found 0 C/ec5Customer)Ctm6Ma76Ctm_in*; , if)found* cout << -#ame customer 0 - << Ctm3found@=4.get#ameCustomer)* << endl; cout << endl << -&re 2ou sure to delete it ) A+# * " -; cin >> input; if))input 00 -A-*>>)input 00 -2-** ofstream out'ile)Customer'ile.c_str)*6ios_$ase""out*; for)int i01; i < Ma7; iBB* if)i ?0)found@=** out'ile << Ctm3i4.getCodeCustomer)* << - -; out'ile << Ctm3i4.get#ameCustomer)* << endl; ,

, , else if ))input 00 -#-*>>)input 00 -n-** 8ait9e2)-%ress an2 5e2 to continue.-*; , , else 8ait9e2)-'ail ??6 %ress an2 5e2 to continue.-*;

!oid ReadCustomerto&rra2)Customer :Ctm* string input; ifstream in'ile)Customer'ile.c_str)*6ios_$ase""in*; if)in'ile.is_open)** for)int n01;n < CountRecord)Customer'ile.c_str)**;nBB* in'ile >> input; Ctm3n4.setCodeCustomer)atoi)input.c_str)***; in'ile >> input; Ctm3n4.set#ameCustomer)input*;

, ,

, in'ile.close)*;

int C/ec5Customer)Customer Ctm346 int Ma7 6Customer Ctm_in* for)int a 0 1; a < Ma7; aBB* if)Ctm3a4.getCodeCustomer)* 00 Ctm_in.getCodeCustomer)** , , return)1*; , !oid (ispla2Customer)* Customer :Ctm; int Ma7 0 CountRecord)Customer'ile*; Ctm 0 ne< Customer3Ma74; ReadCustomerto&rra2)Ctm*; int n01; return)aB=*;

cout << cout << cout << cout << for)int

(ispla2 Customer - << endl << endl; -000000000000000000000000000000000000- <<endl; Code #ame - <<endl; -000000000000000000000000000000000000- <<endl; i01; i < Ma7; iBB* -;

cout << - - << set<)C* << left << Ctm3i4.getCodeCustomer)* <<cout << set<)C* << left << Ctm3i4.get#ameCustomer)* << endl; , cout << -000000000000000000000000000000000000- <<endl; 8ait9e2)-%ress an2 5e2 to continue.-*;

++ Ot/er 'unction ++ int CountRecord)string 'ile_#ame* ifstream in'ile)'ile_#ame.c_str)*6ios_$ase""in*; if)in'ile.is_open)** c/ar c/; int n01; in'ile.get)c/*; </ile)?in'ile.eof)** if )c/ 00 DEnD* in'ile.get)c/*; , in'ile.close)*; return)n*; nBB;

, else return)1*;

!oid 8ait9e2)string message* c/ar <ait; cout << message << endl; cin.get)<ait*; cin.get)<ait*; cin.clear)*; , !oid Read(ataSaleto&rra2)Customer :Ctm6 'ood :'* string input; ifstream in'ile)Sale'ile.c_str)*6ios_$ase""in*; if)in'ile.is_open)** for)int n01;n < CountRecord)Sale'ile.c_str)**;nBB* in'ile >> input; Ctm3n4.setCodeCustomer)atoi)input.c_str)***; in'ile >> input; '3n4.setCode'ood)atoi)input.c_str)***; in'ile >> input; Ctm3n4.set&mount'oodCustomer)atoi)input.c_str)***; in'ile >> input; Ctm3n4.setSum%riceCustomer)atof)input.c_str)***; in'ile >> input; Ctm3n4.set(ate)input*; , in'ile.close)*; , ,

!oid Read%riceeac/to&rra2)Customer :Ctm*

string input; ifstream in'ile)%riceeac/Customer.c_str)*6ios_$ase""in*; if)in'ile.is_open)** for)int n01;n < CountRecord)%riceeac/Customer.c_str)**;nBB* in'ile >> input; Ctm3n4.setCodeCustomer)atoi)input.c_str)***; in'ile >> input; Ctm3n4.set&ccumulated)atoi)input.c_str)***; , in'ile.close)*; , ,

int C/ec5%riceeac/)Customer Ctm346int Ma76 int Code* for)int a 0 1; a < Ma7; aBB* if)Ctm3a4.getCodeCustomer)* 00 Code* return)aB=*; , return)1*; ,

, +:!oid SaleofCustomer)* ,:+ !oid ;u2'ood)* SASTEMTFME st; GetS2stemTime)Hst*; int Aear 0 st.<Aear; int Mont/ 0 st.<Mont/; int (a2 0 st.<(a2; dou$le sum 0 1; dou$le discount 01; int Code 0 1; string input; 'ood :'6'OO(; Customer CTM6:Ctm; int Ma7 0 CountRecord)'ood'ile*; if )Ma7 00 1* Ma7 0 =; ' 0 ne< 'ood 3Ma74; Read'oodto&rra2)'*; int Ma7I 0 CountRecord)Customer'ile*; if )Ma7I 00 1* Ma7I 0 =; Ctm 0 ne< Customer 3Ma7I4; ReadCustomerto&rra2)Ctm*; cout << cout << cout << cout << for)int (ispla2 'ood - << endl; -00000000000000000000000000000000000000000- <<endl; -Code #ame %rice- <<endl; -00000000000000000000000000000000000000000- <<endl; i01; i < Ma7; iBB* -; -; .@;at/- <<

, cout << -00000000000000000000000000000000000000000- <<endl;

cout << set<)C* << left << '3i4.getCode'ood)* <<cout << set<)J* << left << '3i4.get#ame'ood)* <<cout << set<)K* << left << '3i4.get%rice'ood)* <<-

endl;

cout << endl << Special promotions 8o<< ??- << endl ; cout << -00000000000000000000000000000000000000000- <<endl; cout << JC @ =I1 (iscount =1L - << endl; cout << =I= @ =JC (iscount =KL - << endl; cout << < =JC (iscount M1L - << endl; cout << -00000000000000000000000000000000000000000- <<endl; int c/ec5 0 1; do cout << -Enter 2our customer code " - ; cin >> input; CTM.setCodeCustomer)atoi)input.c_str)***; Code 0 atoi)input.c_str)**; for)int a01;a<Ma7; aBB* if)CTM.getCodeCustomer)* 00 Ctm3a4.getCodeCustomer)** c/ec5 0 Ma7B=1; aB0Ma7B=1;

, ,</ile)c/ec5 00 1*; int cal 0 1; c/ec5 0 1; do

do cout << -Enter code food for $u2 " - ; cin >> input; 'OO(.setCode'ood)atoi)input.c_str)***; for)int a01;a<Ma7; aBB* if)'3a4.getCode'ood)* 00 'OO(.getCode'ood)** c/ec5 0 Ma7B=1; aB0Ma7B=1; , ,</ile)c/ec5 00 1*; cout << -Enter &mount of food " -; cin >> input; CTM.set&mount'oodCustomer)atoi)input.c_str)***; cal 0 C/ec5'ood)'6Ma76'OO(*; sum 0 )'3cal@=4.get%rice'ood)* : CTM.get&mount'oodCustomer)**; discount 0 sum; if)sum >0 JC HH sum <0=I1* sum0sum@))sum:=1*+=11*; discount 0 ))discount:=1*+=11*;

, else if)sum >0 =I= HH sum <0=JC*

sum0sum@))sum:=K*+=11*; discount 0 ))discount:=K*+=11*; , else if)sum > =JC* sum0sum@))sum:M1*+=11*; discount 0 ))discount:M1*+=11*;

ofstream out'ile)Sale'ile.c_str)*6ios_$ase""out>ios_$ase""app*; out'ile << CTM.getCodeCustomer)* << - - ; out'ile << 'OO(.getCode'ood)* << - -; out'ile << CTM.get&mount'oodCustomer)* << - -; out'ile << sum << - -; out'ile << (a2 << -+- << Mont/ << -+- << Aear << endl; cout << endl << -(o 2ou <ate to $u2 more N )A + #* " - ; cin >> input; ,

</ile)input 00 -2- >> input 00 -A-*; cout << endl << -%rice of food 0 - << )'3cal@=4.get%rice'ood)* : CTM.get&mount'oodCustomer)** << endl ; cout << -(iscount of food 0 - << discount << endl ; cout << -#et 0 - << sum << endl; cout << -Fnput mone2 " -; cin >> discount; cout << -C/ange 0 - <<discount @ sum << endl ; +::::+++int point 0 C/ec5Customer)CTM6Ma76Code*; Customer :CtmI; int Ma7M 0 CountRecord)%riceeac/Customer*; if )Ma7M 00 1* Ma7M 0 =; CtmI 0 ne< Customer 3Ma7M4; Read%riceeac/to&rra2)CtmI*; int found 0 C/ec5%riceeac/)CtmI6Ma76Code*; cout << found << endl; dou$le Com 0 CtmI3found@=4.get&ccumulated)*B)sum*; if)found* CtmI3found@=4.set&ccumulated)Com*; ofstream out'ile)%riceeac/Customer.c_str)*6ios_$ase""out*; for)int i 01; i < Ma7I; iBB* out'ile << CtmI3i4.getCodeCustomer)* << - -; out'ile << CtmI3i4.get&ccumulated)* << endl;

, ,

, out'ile.close)*;

!oid %urc/aseofCustomer)* 'ood :'; Customer :Ctm; int Ma7 0 CountRecord)Sale'ile*; if )Ma7 00 1* Ma7 0 =; ' 0 ne< 'ood 3Ma74; Ctm 0 ne< Customer 3Ma74; Read(ataSaleto&rra2)Ctm6'*; for)int a01;a<Ma7; aBB* if)Ctm3a4.getCodeCustomer)* 00 Ctm3a4.getCodeCustomer)** c/ec5 0 Ma7B=1; aB0Ma7B=1; , ,

#ifndef 'OO(_H #define 'OO(_H #include<iostream> using namespace std; class 'ood pri!ate" int Code'ood; string #ame'ood; int %rice'ood; pu$lic" !oid setCode'ood)int Code_'ood*; !oid set%rice'ood)int %rice_'ood*; !oid set#ame'ood)string #ame_'ood*; int getCode'ood)*; int get%rice'ood)*; string get#ame'ood)*; ,; #endif #include<iostream> #include<string> #include<iomanip> #include-'ood./using namespace std; +++ set +++

!oid 'ood""setCode'ood)int Code_'ood* , Code'ood0Code_'ood;

!oid 'ood""set%rice'ood)int %rice_'ood* %rice'ood0%rice_'ood; , !oid 'ood""set#ame'ood)string #ame_'ood* , #ame'ood0#ame_'ood;

+++ get +++ int 'ood""getCode'ood)* , return)Code'ood*;

int 'ood""get%rice'ood)* return)%rice'ood*; , string 'ood""get#ame'ood)* , return)#ame'ood*;

#include<iostream> #include<fstream> #include<string> #include-(ata./using namespace std; int main)* &dd'ood)*; Edit'ood)*; (elete'ood)*; (ispla2'ood)*; &ddCustomer)*; EditCustomer)*; (eleteCustomer)*; (ispla2Customer)*; SaleofCustomer)*; c/ar c/; string line)OO6D0D*; line B0 -B-; line 0 -B-Bline; cout << endl << Main Menu - << endl; cout << line << endl; cout << -" = @>> &(( 'OO( "-<< endl ; cout << -" I @>> E(FT 'OO( "-<< endl ; cout << -" M @>> (EPETE 'OO( "-<< endl ; cout << -" O @>> (FS%P&A 'OO( "-<< endl ; cout << -"00000000000000000000000000000000000000000000"- << endl; cout << -" K @>> &(( CUSTOMER "-<< endl; cout << -" Q @>> E(FT CUSTOMER "-<< endl; cout << -" J @>> (EPETE CUSTOMER "-<< endl; cout << -" R @>> (FS%P&A CUSTOMER "-<< endl; cout << -"00000000000000000000000000000000000000000000"- << endl; cout << -" C @>> %URCH&SE O' E&CH CUSTOMER "-<< endl; cout << -" =1 @>> S&PES &#( CUSTOMER COU#TS "-<< endl; cout << -" == @>> &MOU#T O' 'OO( &#( S&PES O' 'OO( "-<< endl; cout << -" =I @>> ;UA 'OO( "-<< endl; cout << -" 1 @>> ESFT %ROGR&M "-<< endl; cout << line << endl; cout << Select C/oice " -; &dd'ood)*; &ddCustomer)*; ;u2'ood)*; return)1*;

Вам также может понравиться