#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; int N = 1; cout << "The value of N is " << N << endl; N = N + 1; cout << "The value of N is now " << N << endl; double X = 2; cout << "3 / 2 * X is equal to " << 3 / 2 * X << endl; return 0; }