#include using namespace std; // main: generate some simple output int main () { char fred; fred = 'b'; cout << "Hello, world." << endl; cout << "The contents of fred is " << fred << endl; fred = 'Q'; cout << "The contents of fred is now " << fred << endl; return 0; }