Everything semed to be o.k. when I had simple output statemet's in the main. When I tried to incorporate the outputs into a function 'output' (requirement) I got brain freeze.It is the last thing I need besides a loop for requesting if the user wants to go again. Any help appreciated, greatly!
cout << endl << endl;
system ("PAUSE");
return 0;
}
//******************************************************************************
void display ()
{
cout << "This program will calculate your cell phone bill total based on"
" your choice \nof plans & minutes used\n\n";
cout << "For your choice the following plans are offered.\n\n";
cout << "Code 'F': Our fixed rate plan. Is a flat $150.00 fee for unlimited"
" minutes \n (Note: not available to business)\n\n";
cout << "Code 'M': Our direct per-minute charge plan. Has a charge of $5.00, "
"plus\n 21 cents a minute.\n\n";
cout << "Code 'H': Our Home customer plan is $40.00 for the first 600 minutes,"
"\n plus 19 cents for each aditional minute.\n\n";
cout << "Code 'P': The Home Plus plan is $64.00 for the first 1,000 minutes,\n"
" plus 17 cents for each additional minute.\n\n";
cout << "Code 'B': Our Business plan is $150.00 for up to 2,000 minutes;"
" $210.00 for\n up to 3,000 minutes, &"
" $240.00 if over 3,000 minutes.\n\n";
}
cout << "The total of your minutes is: " << static_cast<int>(get_minutes) << " min \n\n";
cout << "The plan you chose was: " << get_plan << "\n\n";
cout << "Your total bill is: " << bill << "\n\n";