I\'ve got a complete program that prompts the user for whatpackage they\'re inte
ID: 3619097 • Letter: I
Question
I've got a complete program that prompts the user for whatpackage they're interested in, how many message units they want,and it outputs the total price (including the cost of extra unitsfor each package). I have used a do..while loop with a switchstatement embedded for the menu. I have used nested if..elsestatements to limit what the user can input and the range ofnumbers they can use. I utilize a default statement to prompt theuser that any value not initialized will return a "try againerror." Now the last part I am having a real hard time with. Thelast part wants me to: The program will inform the user if it would be less expensiveto change plans. (plan A to B or C etc) and display thecost saving for each plan. Package BasePrice AdditionalFees A $9.95 $2.00per message unit after 10 units. B $19.95 $1.00per message unit after 20 units C $39.95 $Unlimited message units I've got a complete program that prompts the user for whatpackage they're interested in, how many message units they want,and it outputs the total price (including the cost of extra unitsfor each package). I have used a do..while loop with a switchstatement embedded for the menu. I have used nested if..elsestatements to limit what the user can input and the range ofnumbers they can use. I utilize a default statement to prompt theuser that any value not initialized will return a "try againerror." Now the last part I am having a real hard time with. Thelast part wants me to: The program will inform the user if it would be less expensiveto change plans. (plan A to B or C etc) and display thecost saving for each plan. Package BasePrice AdditionalFees A $9.95 $2.00per message unit after 10 units. B $19.95 $1.00per message unit after 20 units C $39.95 $Unlimited message unitsExplanation / Answer
please rate - thanks as per our messaging see if this helps #include using namespace std; int main( ) { char package; int units; double price,other,diff; coutRelated Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.