Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
#include <iostream>
using namespace std;
int main(int ac, char** av) {
cout << "Welcome to healthcare.gov!" << endl;
cout << "If you like your doctor, you can keep your doctor." << endl;
cout << "Please enter your doctor's name:";
string doctor;
cin >> doctor;
cout << "We are sorry but, " << doctor << " is not one of the doctors you can keep." << endl;
cout << "Please enter your plan ID:";
string plan;
cin >> plan;
cout << "We are sorry but your plan: " << plan << " is not one of the plans you can keep." << endl;
cout << "Thank you for visiting healthcare.gov." << endl;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment