I\'ve got a complete program that prompts the user for what packagethey\'re inte
ID: 3619103 • Letter: I
Question
I've got a complete program that prompts the user for what packagethey're interested in, how many message units they want, and itoutputs the total price (including the cost of extra units for eachpackage). I have used a do..while loop with a switch statementembedded for the menu. I have used nested if..else statements tolimit what the user can input and the range of numbers they canuse. I utilize a default statement to prompt the user that anyvalue not initialized will return a "try again error." Now the lastpart I am having a real hard time with. The last part wants meto: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 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
Explanation / Answer
please rate - thanks 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.