Question: double salaryTotal = 0 ; int numOfdays = 1 ; double totalPay = 0 ; char again = ' y ' ; cout < <
double salaryTotal ;
int numOfdays ;
double totalPay ;
char again y;
cout t
;
cout t Welcome to Hair Clips
;
cout t
;
do
cout "How many days did the employee work this month";
cin numOfdays;
totalPay ;
for int count ; count numOfdays; count
totalPay count costOfHairCut;
cout X had numOfClients clients.
;
cout "The total amount earned today is totalPay endl;
cout Do you want to find pay for another employee Yy for yes or Nn for No;
cin again;
while again y again Y;
cout "Have a good day!" endl;
systempause;
return ;
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
