Need help with C++ project

 aj burnett · June 14, 2015 long story short,For my project I have to calculate the cost of a mobile device service. I ask a user what package they want package a, b, or c. they each have a base price. right now im trying to calculate the cost of package a which has a base price of \$9.95. I also ask the user how many many message units they want. if they choose more than 5 message units its \$1.00 per message unit after 5 units. I dont know if my math is not right? when i run it it gives the wrong output for the price.#include using namespace std;int main() {bool finished = false;do {    // to keep it simple    double choice_a = 9.95;    double choice_b = 19.95;    double choice_c = 39.95;    char choice;    int message_units;    double price;    bool selected = false;// this loop shows the options initially    do {        cout << "Which package do you choose (enter A, B or C)" << endl;        // you will need to check this        cin >> choice;        // keeping it simple        if (choice == 'A') { price = choice_a; selected = true; }        else if (choice == 'B') { price = choice_b; selected = true; }        else if (choice == 'C') { price = choice_c; selected = true; }        cout << endl;    }    // loops until something was selected    while (selected == false);    // user enters how many units is wanted    cout << "How many message units (enter 1 - 672)" << endl;    // again check this (if homework requires checking input)    cin >> message_units;    // Calculating message units    if(message_units > 5){price += 100 * (message_units - 5);}    if(message_units > 15){price += 50 * (message_units - 15);}// Total Price Output    cout << "Your total cost is " << price/100 << endl    // Is user done?    char done;    cout << "Do you want to enter another? press enter to continue. If you are done, type something and press enter.";    cin >> done;    // check    if (done != ' ') {        finished = true;    }} while (finished = false);