double price = getPrice();
int number = getNumberOfPatron();
cout << "For 10% tip price per person is $" << calculateTips( price, number, .1 ) << endl;
cout << "For 15% tip price per person is $" << calculateTips( price, number, .15 ) << endl;
cout << "For 20% tip price per person $" << calculateTips( price, number, .2 ) << endl;
return 0;
}
It seems to have an issue at getNumberOfPatron(); because when i compile and run it, It wont let me input the number of people which i dont understand why.
Thank you if you can help :)
- Muhammad