Question: #include #include #include using namespace std; const int MAXCLIENTS = 1 0 ; float L [ MAXCLIENTS ] , W [ MAXCLIENTS ] ; /
#include
#include
#include
using namespace std;
const int MAXCLIENTS;
float LMAXCLIENTSWMAXCLIENTS; access each apartment using
string nameMAXCLIENTS;
string getName
string name;
cout "Please enter the client's name" name;
return name;
float getWins
float Wgw;
while valid rageWgw && Wgw
cout "Please Enter Wins valid range W endl;
cin Wgw;
return Wgw;
float getLosses
float Lgl;
while Lgl && Lgl
cout "Please Enter Losses in valid range L Lgl;
return Lgl;
int whichClient
int index;
whileindex && index index;
return index;
void reportRankfloat Lfloat W
float Rank;
RankWLW;
cout setw setfill answer;
if answer answer againfalse;
if answer
int iwhichClient;
LigetLosses;
if answer
int iwhichClient;
WigetWins;
if answer
int iwhichClient;
nameigetName;
LigetLosses;
WigetWins;
if answer
int iwhichClient;
nameigetName;
if answer
forint i;i
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
