Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started