//Tip based on service #include using namespace std; int main(void) { double cost, tip; char service; cout<<"Enter cost of meal:$"; cin>>cost; cout<<"Was the service good (Y/N)?"; cin>>service; if(service=='Y' || service=='y') tip=cost*0.20; //20% for good service else tip=cost*0.15; //15% if not cout<<"The tip is $"<