Question: t main ( ) int month = 1 ; int sales = 0 ; int totalSales = 0 ; / / get an unknown number
t main
int month ;
int sales ;
int totalSales ;
get an unknown number of sales
while month
cout "First sales amount
to end: ;
cin sales;
while sales
totalSales totalSales
cout "Next sales amount
number to end: ;
cin sales;
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
